@Test
public void updateGenerationStatus() throws Exception {

  final AsyncReportStatusListener listener =
    new AsyncReportStatusListener( "", UUID.randomUUID(), "", Collections.<ReportProgressListener>emptyList() );
  listener.setRequestedPage( 500 );
  listener.updateGenerationStatus( 500 );
  assertEquals( 0, listener.getRequestedPage() );
}