PageableHTMLOutput extends AbstractHtmlOutput { public void setReportProcessor( final PageableReportProcessor proc ) { this.proc = proc; } PageableHTMLOutput(); Object getReportLock(); ProxyOutputStream getProxyOutputStream(); void setProxyOutputStream( final ProxyOutputStream proxyOutputStream ); HtmlPrinter getPrinter(); void setPrinter( final AllItemsHtmlPrinter printer ); PageableReportProcessor getReportProcessor(); void setReportProcessor( final PageableReportProcessor proc ); int paginate( final MasterReport report, final int yieldRate ); int generate( final MasterReport report, final int acceptedPage, final OutputStream outputStream,
                       final int yieldRate ); boolean supportsPagination(); void close();  }
@Test public void testSetReportProcessor() throws Exception { Assert.assertNull( pageableHTMLOutput.getReportProcessor() ); PageableReportProcessor mockProcessor = mock( PageableReportProcessor.class ); pageableHTMLOutput.setReportProcessor( mockProcessor ); Assert.assertEquals( mockProcessor, pageableHTMLOutput.getReportProcessor() ); }