assertNotNull(outstream);
assertTrue(outstream instanceof IdentityOutputStream);
}
public void testEntityWithInvalidTransferEncoding() throws Exception {
SessionOutputBuffer datatransmitter = new SessionOutputBufferMockup();
HttpMessage message = new HttpMessageMockup();
message.addHeader("Transfer-Encoding", "whatever");
EntitySerializer entitywriter = new EntitySerializer(
new StrictContentLengthStrategy());