1@Test
2public void givenCountryService_whenCountryIndia_thenCapitalIsNewDelhi() {
3 assertEquals("New Delhi", countryService.findByName("India").getCapital());
4}
5
6@Test
7public void givenCountryService_whenCountryFrance_thenPopulationCorrect() {
8 assertEquals(66710000, countryService.findByName("France").getPopulation());
9}
10
11@Test
12public void givenCountryService_whenCountryUSA_thenCurrencyUSD() {
13 assertEquals(Currency.USD, countryService.findByName("USA").getCurrency());
14}
15