@Test
public void testNotCaching() throws ContentIOException, ReportProcessingException, IOException {

  final CachingPageableHTMLOutput mock = mock( CachingPageableHTMLOutput.class );
  when( mock.generate( null, -1, null, 1 ) ).thenCallRealMethod();
  mock.generate( null, -1, null, 1 );
  verify( mock, times( 1 ) ).generateNonCaching( null, -1, null, 1 );
}