Languages { public static Collection<Locale> getAllCodes() { return languageMap.keySet(); }  static LanguageDetails getLocale(Locale locale); static Collection<LanguageDetails> getAllLanguageDetails(); static Collection<Locale> getAllCodes();  }
@Test void shouldGetAllCodes() { Collection<Locale> result = Languages.getAllCodes(); assertEquals(23, result.size()); }