assertNotNull(outstream);
assertTrue(outstream instanceof ChunkedOutputStream);
}
public void testEntityWithIdentityTransferEncoding() throws Exception {
HttpDataTransmitter datatransmitter = new HttpDataTransmitterMockup();
HttpMessage message = new HttpMessageMockup();
message.addHeader(new Header("Transfer-Encoding", "Identity"));
DefaultEntitySerializer entitywriter = new DefaultEntitySerializer();
OutputStream outstream = entitywriter.doSerialize(datatransmitter, message);