@Test
public void testStagingMode() throws IOException {

  ByteArrayOutputStream baos = new ByteArrayOutputStream();
  ThruStagingHandler handler = new ThruStagingHandler( baos, session );
  assertEquals( StagingMode.THRU, handler.getStagingMode() );
}