### Question:
CoreI18n extends I18n { public static Set<String> getAllTranslations(String key) { Set<String> set = new HashSet<>(); for (I18n i18n : getAllResourceBundles()) { String translation = i18n.getMessage(key); if (StringUtils.isNotBlank(translation)) set.add(translation); } return set; } CoreI18n();  CoreI18n(Locale locale); static CoreI18n getDefault(); static void setDefault(CoreI18n instance); static CoreI18n setDefault(Locale locale); static Set<String> getAllTranslations(String key); static final String BUNDLE_NAME; }### Answer:
@Test void testResourceBundles() { Set<String> translations = CoreI18n.getAllTranslations("merlin.word.templating.sheet.configuration.name"); assertEquals(2, translations.size()); assertTrue(translations.contains("Konfiguration")); assertTrue(translations.contains("Configuration")); }