### Question:
Strings { static ResourceBundle createResourceBundle() { ResourceBundle temp = null; try { temp = new PropertyResourceBundle(new FileInputStream( DirectoryManager.injectFileSystemSeparators( DirectoryManager.getProjectI18nDir(), new StringBuilder("messages_").append( Locale.getDefault().getLanguage()).append( ".properties").toString()))); } catch(FileNotFoundException x) { try { Logger.getLogger(Strings.class.getName()).log(Level.INFO, "Your default language is not supported yet. "+x.getLocalizedMessage()); temp = new PropertyResourceBundle(new FileInputStream( DirectoryManager.injectFileSystemSeparators( DirectoryManager.getProjectI18nDir(), "messages_en.properties"))); } catch (Exception e) { throw new RuntimeException(e); } } catch (Exception e) { throw new RuntimeException(e); } return temp; } private  Strings(); static String getMessage(String key); static String getMessage(Class<?> clazz, String key); static String[] getMessages(Class<?> clazz, String key); static boolean wasNotFound(String lesson);  }### Answer:
@Test public void testStringsBundleInitializationWithDefaultLocale() throws Exception { Locale.setDefault(Locale.US); assertNotNull(Strings.createResourceBundle()); }
@Test public void testStringsBundleInitializationWithNonDefaultLocale() throws Exception { Locale.setDefault(Locale.CHINA); assertNotNull(Strings.createResourceBundle()); }