test_class.declarator: logger = LoggerFactory.getLogger(CountryUtilTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger logger = LoggerFactory.getLogger(CountryUtilTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.file: ch-commons-locale/src/test/java/com/cloudhopper/commons/locale/CountryUtilTest.java
test_class.identifier: CountryUtilTest
test_case.body: @Test
      public void countryByName() throws Exception {
          List<Country> countries = CountryUtil.getCountriesByName();
          // first couple element check, name isn't in Country's comparison
          /**
           * AF AFG 004 Afghanistan
  AL ALB 008 Albania, People's Socialist Republic of
  DZ DZA 012 Algeria, People's Democratic Republic of
  AS ASM 016 American Samoa
  AD AND 020 Andorra, Principality of
           */
          Assert.assertEquals(countries.get(0), new Country("AF", "", ""));
          Assert.assertEquals(countries.get(1), new Country("AL", "", ""));
          Assert.assertEquals(countries.get(2), new Country("DZ", "", ""));
          Assert.assertEquals(countries.get(3), new Country("AS", "", ""));
          Assert.assertEquals(countries.get(4), new Country("AD", "", ""));
  
          Country c0 = countries.get(4);
          Assert.assertEquals("Andorra", c0.getName());
          Assert.assertEquals("Andorra, Principality of", c0.getLongName());
      }
test_case.class_method_signature: CountryUtilTest.countryByName()
test_case.full_signature: @Test public void countryByName()
test_case.identifier: countryByName
test_case.invocations: getCountriesByName assertEquals get assertEquals get assertEquals get assertEquals get assertEquals get get assertEquals getName assertEquals getLongName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void countryByName()
focal_class.declarator: logger = LoggerFactory.getLogger(CountryUtil.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(CountryUtil.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: byIso2
focal_class.modifier: private static
focal_class.original_string: private static HashMap<String,Country> byIso2;
focal_class.type: HashMap<String,Country>
focal_class.var_name: byIso2
focal_class.declarator: byName
focal_class.modifier: private static
focal_class.original_string: private static ArrayList<Country> byName;
focal_class.type: ArrayList<Country>
focal_class.var_name: byName
focal_class.file: ch-commons-locale/src/main/java/com/cloudhopper/commons/locale/CountryUtil.java
focal_class.identifier: CountryUtil
focal_class.class_method_signature: CountryUtil.CountryUtil()
focal_class.full_signature: private  CountryUtil()
focal_class.identifier: CountryUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  CountryUtil()
focal_class.class_method_signature: CountryUtil.lookupByIso2(String iso2)
focal_class.full_signature: public static Country lookupByIso2(String iso2)
focal_class.identifier: lookupByIso2
focal_class.modifiers: public static
focal_class.parameters: (String iso2)
focal_class.return: Country
focal_class.signature: Country lookupByIso2(String iso2)
focal_class.class_method_signature: CountryUtil.parse(InputStream is)
focal_class.full_signature: public static ArrayList<Country> parse(InputStream is)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (InputStream is)
focal_class.return: ArrayList<Country>
focal_class.signature: ArrayList<Country> parse(InputStream is)
focal_class.class_method_signature: CountryUtil.getCountriesByName()
focal_class.full_signature: public static List<Country> getCountriesByName()
focal_class.identifier: getCountriesByName
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: List<Country>
focal_class.signature: List<Country> getCountriesByName()
focal_method.body: public static List<Country> getCountriesByName() {
          return byName;
      }
focal_method.class_method_signature: CountryUtil.getCountriesByName()
focal_method.full_signature: public static List<Country> getCountriesByName()
focal_method.identifier: getCountriesByName
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: List<Country>
focal_method.signature: List<Country> getCountriesByName()