### Question:
AsyncReportStatusListener implements IAsyncReportListener { public boolean isFirstPageMode() { return firstPageMode; } AsyncReportStatusListener( final String path,
                                    final UUID uuid,
                                    final String mimeType,
                                    final List<? extends ReportProgressListener> callbackListeners ); @Override synchronized void setStatus( final AsyncExecutionStatus status ); @Override synchronized void setErrorMessage( final String errorMessage ); boolean isFirstPageMode(); synchronized void setRequestedPage( final int requestedPage ); @Override synchronized int getRequestedPage(); @Override synchronized void updateGenerationStatus( final int generatedPage ); @Override synchronized boolean isScheduled(); @Override synchronized void reportProcessingStarted( final ReportProgressEvent event ); @Override synchronized void reportProcessingUpdate( final ReportProgressEvent event ); @Override synchronized void reportProcessingFinished( final ReportProgressEvent event ); @Override String toString(); synchronized IAsyncReportState getState(); boolean isQueryLimitReached(); @Override void setIsQueryLimitReached( boolean isQueryLimitReached ); @Override int getTotalRows(); synchronized void cancel();  }### Answer:
@Test public void isFirstPageMode() throws Exception { final ModifiableConfiguration edConf = ClassicEngineBoot.getInstance().getEditableConfig(); edConf.setConfigProperty( "org.pentaho.reporting.platform.plugin.output.FirstPageMode", "true" ); final AsyncReportStatusListener listener = new AsyncReportStatusListener( "", UUID.randomUUID(), "", Collections.<ReportProgressListener>emptyList() ); assertTrue( listener.isFirstPageMode() ); edConf.setConfigProperty( "org.pentaho.reporting.platform.plugin.output.FirstPageMode", "false" ); final AsyncReportStatusListener listener2 = new AsyncReportStatusListener( "", UUID.randomUUID(), "", Collections.<ReportProgressListener>emptyList() ); assertFalse( listener2.isFirstPageMode() ); }