### Question:
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);  }### Answer:
@Test void asStringTest() throws Exception { assertEquals("de", Languages.asString(Locale.GERMAN)); assertEquals("en", Languages.asString(Locale.ENGLISH)); }