@Test
public void testCanSendHeaders() throws Exception {

  assertTrue( handler.canSendHeaders() );
  OutputStream stream = handler.getStagingOutputStream();
  assertEquals( ( (TrackingOutputStream) stream ).getWrappedStream().hashCode(), outputStream.hashCode() );
  assertEquals( 0, handler.getWrittenByteCount() );
}