### Question:
LocaleUtils { public static String getLocalizedString(String key) { Locale locale = JiveGlobals.getLocale(); try { ResourceBundle bundle = ResourceBundle.getBundle(resourceBaseName, locale); return getLocalizedString(key, locale, null, bundle); } catch (MissingResourceException mre) { Log.error(mre.getMessage()); return key; } } private  LocaleUtils(); static Locale localeCodeToLocale(String localeCode); static String[][] getTimeZoneList(); static String getTimeZoneName(String zoneID, Locale locale); static ResourceBundle getResourceBundle(String baseName,
                                                   Locale locale); static String getLocalizedString(String key); static String getLocalizedString(String key, Locale locale); static String getLocalizedPluginString(final String pluginName, final String key); static String getLocalizedString(String key, List<?> arguments); static String getLocalizedString(String key, String pluginName); static String getLocalizedString(String key, String pluginName, List arguments); static String getLocalizedString(String key, String pluginName, List<?> arguments, Locale locale, boolean fallback); static ResourceBundle getPluginResourceBundle(String pluginName); static String getLocalizedString(String key, Locale locale, List arguments,
            ResourceBundle bundle); static String getLocalizedNumber(long number); static String getLocalizedNumber(long number, Locale locale); static String getLocalizedNumber(double number); static String getLocalizedNumber(double number, Locale locale); static final String OPENFIRE_PLUGIN_NAME; }### Answer:
@Test public void getLocalizedStringWillReturnASensibleDefaultValue() { final String key = "if.this.key.exists.the.test.will.fail"; assertThat(LocaleUtils.getLocalizedString(key), is("???" + key + "???")); }