### Question:
LocaleCache { @Nonnull @ReturnsMutableCopy public ICommonsList <Locale> getAllLocales () { final ICommonsList <Locale> ret = m_aRWLock.readLockedGet (m_aLocales::copyOfValues); ret.remove (LocaleHelper.LOCALE_ALL); ret.remove (LocaleHelper.LOCALE_INDEPENDENT); return ret; } protected  LocaleCache(); static boolean isSilentMode(); static boolean setSilentMode(final boolean bSilentMode); static boolean isInstantiated(); @Nonnull static LocaleCache getInstance(); @Nonnull final IMissingLocaleHandler getDefaultMissingLocaleHandler(); @Nullable Locale getLocale(@Nullable final String sLanguage); @Nullable Locale getLocaleExt(@Nullable final String sLanguage, @Nullable final IMissingLocaleHandler aMissingHandler); @Nullable Locale getLocale(@Nullable final String sLanguage, @Nullable final String sCountry); @Nullable Locale getLocale(@Nullable final String sLanguage, @Nullable final String sCountry, @Nullable final String sVariant); @Nullable Locale getLocale(@Nullable final String sLanguage,
                           @Nullable final String sCountry,
                           @Nullable final String sVariant,
                           @Nullable final IMissingLocaleHandler aMissingHandler); @Nonnull @ReturnsMutableCopy ICommonsList <Locale> getAllLocales(); @Nonnull @ReturnsMutableCopy ICommonsSet <Locale> getAllLanguages(); boolean containsLocale(@Nullable final String sLanguage); boolean containsLocale(@Nullable final String sLanguage, @Nullable final String sCountry); boolean containsLocale(@Nullable final String sLanguage, @Nullable final String sCountry, @Nullable final String sVariant); @Nonnull @ReturnsMutableCopy static ICommonsOrderedSet <Locale> getAllDefaultLocales(); final void reinitialize();  }### Answer:
@Test public void testGetAllLocales () { assertNotNull (LocaleCache.getInstance ().getAllLocales ()); for (final Locale aLocale : LocaleCache.getInstance ().getAllLocales ()) assertNotNull (aLocale); }