@Test
public void isScheduled() throws Exception {

  final AsyncReportStatusListener listener =
    new AsyncReportStatusListener( "", UUID.randomUUID(), "", Collections.<ReportProgressListener>emptyList() );
  assertFalse( listener.isScheduled() );
  listener.setStatus( AsyncExecutionStatus.PRE_SCHEDULED );
  assertFalse( listener.isScheduled() );
  listener.setStatus( AsyncExecutionStatus.SCHEDULED );
  assertTrue( listener.isScheduled() );
}