@Test void asStringTest() throws Exception { assertEquals("de", Languages.asString(Locale.GERMAN)); assertEquals("en", Languages.asString(Locale.ENGLISH)); }
public static String asString(Locale locale) { return locale != null ? locale.getLanguage() : null; }
Languages { public static String asString(Locale locale) { return locale != null ? locale.getLanguage() : null; } }
Languages { public static String asString(Locale locale) { return locale != null ? locale.getLanguage() : null; }  }
Languages { public static String asString(Locale locale) { return locale != null ? locale.getLanguage() : null; }  static Locale asLocale(String language); static Locale asLocale(String language, boolean rootAsDefault); static String asString(Locale locale); }
Languages { public static String asString(Locale locale) { return locale != null ? locale.getLanguage() : null; }  static Locale asLocale(String language); static Locale asLocale(String language, boolean rootAsDefault); static String asString(Locale locale);  }