@Test void testGet() { String languageCode = "nl"; when(appSettings.getLanguageCode()).thenReturn(languageCode); assertEquals(forLanguageTag("nl"), fallbackLocaleSupplierImpl.get()); }
@Override public Locale get() { String languageCode = appSettings.getLanguageCode(); return Locale.forLanguageTag(languageCode); }
FallbackLocaleSupplierImpl implements FallbackLocaleSupplier { @Override public Locale get() { String languageCode = appSettings.getLanguageCode(); return Locale.forLanguageTag(languageCode); } }
FallbackLocaleSupplierImpl implements FallbackLocaleSupplier { @Override public Locale get() { String languageCode = appSettings.getLanguageCode(); return Locale.forLanguageTag(languageCode); } FallbackLocaleSupplierImpl(AppSettings appSettings); }
FallbackLocaleSupplierImpl implements FallbackLocaleSupplier { @Override public Locale get() { String languageCode = appSettings.getLanguageCode(); return Locale.forLanguageTag(languageCode); } FallbackLocaleSupplierImpl(AppSettings appSettings); @Override Locale get(); }
FallbackLocaleSupplierImpl implements FallbackLocaleSupplier { @Override public Locale get() { String languageCode = appSettings.getLanguageCode(); return Locale.forLanguageTag(languageCode); } FallbackLocaleSupplierImpl(AppSettings appSettings); @Override Locale get();  }