StagingHandler { public StagingMode getStagingMode() { return this.mode; } StagingHandler( final OutputStream outputStream, final StagingMode stagingMode,
      final IPentahoSession userSession ); StagingMode getStagingMode(); boolean isFullyBuffered(); boolean canSendHeaders(); OutputStream getStagingOutputStream(); void complete(); void close(); int getWrittenByteCount();  }
@Test public void testGetStagingMode() throws Exception { assertEquals( stagingMode, handler.getStagingMode() ); }