AddressUtils { @Nonnull public static String getDisplayCountry(@Nonnull final String countryISO2) { assert countryISO2 != null; return getDisplayCountry(countryISO2, Locale.ENGLISH); } private  AddressUtils(); static boolean isValidCountryISO2(@Nullable final String countryCode); @Nonnull static String getDisplayCountry(@Nonnull final String countryISO2); @Nonnull static String getDisplayCountry(@Nonnull final String countryISO2, @Nonnull final Locale language); @Nonnull static String formatStreetWithHouseNumber(
            @Nonnull final Locale locale,
            @Nonnull final String street,
            @Nullable final Integer houseNumber,
            @Nullable final String houseNumberPostfix); @Nonnull static String formatPostcalCodeAndCity(
            @Nonnull final Locale locale,
            @Nonnull final String postalCode,
            @Nonnull final String city);  }
@Test public void testGetDisplayCountry() { LOG.info("testGetDisplayCountry"); Assert.assertEquals("Netherlands", AddressUtils.getDisplayCountry("NL")); Assert.assertEquals("Germany", AddressUtils.getDisplayCountry("DE")); Assert.assertEquals("United Kingdom", AddressUtils.getDisplayCountry("GB")); Assert.assertEquals("", AddressUtils.getDisplayCountry("UK")); Assert.assertEquals("Nederland", AddressUtils.getDisplayCountry("NL", new Locale("NL"))); Assert.assertEquals("Deutschland", AddressUtils.getDisplayCountry("DE", new Locale("DE"))); Assert.assertEquals("United Kingdom", AddressUtils.getDisplayCountry("GB", new Locale("GB"))); Assert.assertEquals("", AddressUtils.getDisplayCountry("UK", new Locale("UK"))); }