Added missing @Test annotation and clarified method names

This commit is contained in:
Anthony Liu
2014-12-09 23:42:22 -05:00
parent 38bb259f65
commit 4caf4efb87
@@ -36,7 +36,7 @@ public class CurrenciesTest {
}
@Test
public void testCurrency() {
public void testCurrencyElements() {
CurrencyDomain currency = CurrenciesHelper.getCurrencybyCode(requestSpec, responseSpec, "USD");
CurrencyDomain usd = CurrencyDomain.create("USD", "US Dollar", 2, "$", "currency.USD", "US Dollar ($)").build();
@@ -50,7 +50,8 @@ public class CurrenciesTest {
Assert.assertEquals(usd, currency);
}
public void testCurrencySelection() {
@Test
public void testUpdateCurrencySelection() {
// Test updation
ArrayList<String> currenciestoUpdate = new ArrayList<String>();
@@ -78,4 +79,4 @@ public class CurrenciesTest {
Assert.assertEquals("Verifying Do Selected Currencies Match after Updation", currenciesBeforeUpdate, currenciesAfterUpdate);
}
}
}