Added missing @Test annotation and clarified method names
This commit is contained in:
+4
-3
@@ -36,7 +36,7 @@ public class CurrenciesTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testCurrency() {
|
public void testCurrencyElements() {
|
||||||
|
|
||||||
CurrencyDomain currency = CurrenciesHelper.getCurrencybyCode(requestSpec, responseSpec, "USD");
|
CurrencyDomain currency = CurrenciesHelper.getCurrencybyCode(requestSpec, responseSpec, "USD");
|
||||||
CurrencyDomain usd = CurrencyDomain.create("USD", "US Dollar", 2, "$", "currency.USD", "US Dollar ($)").build();
|
CurrencyDomain usd = CurrencyDomain.create("USD", "US Dollar", 2, "$", "currency.USD", "US Dollar ($)").build();
|
||||||
@@ -50,7 +50,8 @@ public class CurrenciesTest {
|
|||||||
Assert.assertEquals(usd, currency);
|
Assert.assertEquals(usd, currency);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testCurrencySelection() {
|
@Test
|
||||||
|
public void testUpdateCurrencySelection() {
|
||||||
|
|
||||||
// Test updation
|
// Test updation
|
||||||
ArrayList<String> currenciestoUpdate = new ArrayList<String>();
|
ArrayList<String> currenciestoUpdate = new ArrayList<String>();
|
||||||
@@ -78,4 +79,4 @@ public class CurrenciesTest {
|
|||||||
|
|
||||||
Assert.assertEquals("Verifying Do Selected Currencies Match after Updation", currenciesBeforeUpdate, currenciesAfterUpdate);
|
Assert.assertEquals("Verifying Do Selected Currencies Match after Updation", currenciesBeforeUpdate, currenciesAfterUpdate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user