@Test public void testGetLocaleWithNullLocale() throws Exception { LocaleContextHolder.setLocale(null); Locale locale = localeResolver.getLocale(); assertThat(locale).isNotNull().isEqualTo(Locale.getDefault()); }
@Override public Locale getLocale() { return LocaleContextHolder.getLocale(); }
SpringLocaleResolver implements LocaleResolver { @Override public Locale getLocale() { return LocaleContextHolder.getLocale(); } }
SpringLocaleResolver implements LocaleResolver { @Override public Locale getLocale() { return LocaleContextHolder.getLocale(); }  }
SpringLocaleResolver implements LocaleResolver { @Override public Locale getLocale() { return LocaleContextHolder.getLocale(); }  @Override Locale getLocale(); }
SpringLocaleResolver implements LocaleResolver { @Override public Locale getLocale() { return LocaleContextHolder.getLocale(); }  @Override Locale getLocale();  }