AbstractHtmlOutput implements ReportOutputHandler { public int generate( final MasterReport report, final int acceptedPage, final OutputStream outputStream, final int yieldRate ) throws ReportProcessingException, IOException, ContentIOException { return 0; } protected  AbstractHtmlOutput( final String contentHandlerPattern ); protected  AbstractHtmlOutput(); void setContentHandlerPattern( final String contentHandlerPattern ); String getContentHandlerPattern(); int generate( final MasterReport report,
                       final int acceptedPage,
                       final OutputStream outputStream,
                       final int yieldRate ); int paginate( final MasterReport report,
                       final int yieldRate ); void close(); boolean supportsPagination(); Object getReportLock();  }
@Test public void testStream() throws ContentIOException, ReportProcessingException, IOException { ClassicEngineBoot.getInstance().start(); final StreamHtmlOutput streamHtmlOutput = new StreamHtmlOutput(); streamHtmlOutput.generate( new MasterReport(), 1, mock( OutputStream.class ), 1 ); }