@Test
public void testGenerateYield0() throws Exception {

  MicroPlatform microPlatform = MicroPlatformFactory.create();
  microPlatform.start();
  ClassicEngineBoot.getInstance().start();
  ReportListenerThreadHolder.clear();
  try {
    emailOutput.generate( new MasterReport(), 1, new ByteArrayOutputStream(), 0 );
    verify( listener, times( 0 ) ).reportProcessingStarted( any( ReportProgressEvent.class ) );
    verify( listener, times( 0 ) ).reportProcessingFinished( any( ReportProgressEvent.class ) );
    verify( listener, times( 0 ) ).reportProcessingUpdate( any( ReportProgressEvent.class ) );
    verifyZeroInteractions( yieldReportListener );
  } finally {
    microPlatform.stop();
    microPlatform = null;
  }
}