### Question:
ThruStagingHandler extends AbstractStagingHandler { @Override public StagingMode getStagingMode() { return StagingMode.THRU; } ThruStagingHandler( final OutputStream outputStream, final IPentahoSession userSession ); @Override void complete(); @Override void close(); @Override int getWrittenByteCount(); @Override boolean canSendHeaders(); @Override OutputStream getStagingOutputStream(); @Override boolean isFullyBuffered(); @Override StagingMode getStagingMode();  }### Answer:
@Test public void testStagingMode() throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); ThruStagingHandler handler = new ThruStagingHandler( baos, session ); assertEquals( StagingMode.THRU, handler.getStagingMode() ); }