assertNotNull(entity.getContentType());
assertEquals("stuff", entity.getContentType().getValue());
}
public void testEntityContentEncoding() throws Exception {
SessionInputBuffer datareceiver = new SessionInputBufferMockup(new byte[] {'0'});
HttpMessage message = new HttpMessageMockup();
message.addHeader("Content-Encoding", "what not");
EntityDeserializer entitygen = new EntityDeserializer(
new LaxContentLengthStrategy());