List<Country> countryList = result.getCountryList();
assertEquals(size, countryList.size());
Country expectedCountry = new Country ();
expectedCountry.setId("AND");
expectedCountry.setIsoCode("AD");
expectedCountry.setName("Andorra");
Region expectedRegion = new Region();
expectedRegion.setId("ECS");
expectedRegion.setValue("Europe & Central Asia (all income levels)");
expectedCountry.setRegion(expectedRegion);
AdminRegion adminRegion = new AdminRegion();
adminRegion.setId("");
adminRegion.setValue("");
expectedCountry.setAdminRegion(adminRegion);
IncomeLevel incomeLevel = new IncomeLevel();
incomeLevel.setId("NOC");
incomeLevel.setValue("High income: nonOECD");
expectedCountry.setIncomeLevel(incomeLevel);
LendingType lendingType = new LendingType ();
lendingType.setId("LNX");
lendingType.setValue("Not classified");
expectedCountry.setLendingType(lendingType);
expectedCountry.setCapitalCity("Andorra la Vella");
expectedCountry.setLongitude("1.5218");
expectedCountry.setLatitude("42.5075");
Country actualCountry = countryList.get(1);
reviewCountry (expectedCountry, actualCountry);
}