@Test
public void reportProcessingFinished() throws Exception {

  final ReportProgressListener progressListener = mock( ReportProgressListener.class );
  final AsyncReportStatusListener listener =
    new AsyncReportStatusListener( "", UUID.randomUUID(), "",
      Collections.singletonList( progressListener ) );
  final ReportProgressEvent event = mock( ReportProgressEvent.class );
  listener.reportProcessingFinished( event );
  verify( progressListener, times( 1 ) ).reportProcessingFinished( event );
  //listener should not update status to finished
  assertFalse( AsyncExecutionStatus.FINISHED.equals( listener.getState().getStatus() ) );
}