@Test
public void testStagingMode() throws IOException {

  ByteArrayOutputStream baos = new ByteArrayOutputStream();
  MemStagingHandler handler = new MemStagingHandler( baos, session );
  assertEquals( StagingMode.MEMORY, handler.getStagingMode() );
}