@Test public void testGetURLEncoding() { doReturn( VALUE ).when( backend ).getURLEncoding(); String result = env.getURLEncoding(); assertThat( result, is( equalTo( VALUE ) ) ); result = env.getURLEncoding(); assertThat( result, is( equalTo( VALUE ) ) ); verify( backend ).getURLEncoding(); }
public String getURLEncoding() { if ( urlEncoding == null ) { urlEncoding = backend.getURLEncoding(); } return urlEncoding; }
CachingReportEnvironment implements ReportEnvironment { public String getURLEncoding() { if ( urlEncoding == null ) { urlEncoding = backend.getURLEncoding(); } return urlEncoding; } }
CachingReportEnvironment implements ReportEnvironment { public String getURLEncoding() { if ( urlEncoding == null ) { urlEncoding = backend.getURLEncoding(); } return urlEncoding; } CachingReportEnvironment( final ReportEnvironment backend ); }
CachingReportEnvironment implements ReportEnvironment { public String getURLEncoding() { if ( urlEncoding == null ) { urlEncoding = backend.getURLEncoding(); } return urlEncoding; } CachingReportEnvironment( final ReportEnvironment backend ); Object getEnvironmentProperty( final String key ); String getURLEncoding(); Locale getLocale(); TimeZone getTimeZone(); Map<String, String[]> getUrlExtraParameter(); Object clone(); }
CachingReportEnvironment implements ReportEnvironment { public String getURLEncoding() { if ( urlEncoding == null ) { urlEncoding = backend.getURLEncoding(); } return urlEncoding; } CachingReportEnvironment( final ReportEnvironment backend ); Object getEnvironmentProperty( final String key ); String getURLEncoding(); Locale getLocale(); TimeZone getTimeZone(); Map<String, String[]> getUrlExtraParameter(); Object clone();  }