}
}
@Test
public void testEntityWithInvalidChunkEncodingAndHTTP10() throws Exception {
SessionOutputBuffer outbuffer = new SessionOutputBufferMock();
HttpMessage message = new DummyHttpMessage(HttpVersion.HTTP_1_0);
message.addHeader("Transfer-Encoding", "chunked");
EntitySerializer entitywriter = new EntitySerializer(
new StrictContentLengthStrategy());