@Test public void getLocale_NullTest() { when( re.getLocale() ).thenReturn( null ); Locale result = ParameterUtils.getLocale( re ); assertNotNull( result ); }
static Locale getLocale( final ReportEnvironment environment ) { final Locale locale = environment.getLocale(); return locale != null ? locale : Locale.getDefault(); }
ParameterUtils { static Locale getLocale( final ReportEnvironment environment ) { final Locale locale = environment.getLocale(); return locale != null ? locale : Locale.getDefault(); } }
ParameterUtils { static Locale getLocale( final ReportEnvironment environment ) { final Locale locale = environment.getLocale(); return locale != null ? locale : Locale.getDefault(); } private  ParameterUtils(); }
ParameterUtils { static Locale getLocale( final ReportEnvironment environment ) { final Locale locale = environment.getLocale(); return locale != null ? locale : Locale.getDefault(); } private  ParameterUtils(); static ReportParameterValues initializeDefaultValues( final MasterReport report, final ParameterContext context ); }
ParameterUtils { static Locale getLocale( final ReportEnvironment environment ) { final Locale locale = environment.getLocale(); return locale != null ? locale : Locale.getDefault(); } private  ParameterUtils(); static ReportParameterValues initializeDefaultValues( final MasterReport report, final ParameterContext context );  }