public void testContentEncodingNoEntity() throws Exception {
HttpResponse response = new BasicHttpResponse(HttpVersion.HTTP_1_1, 200, "OK");
HttpContext context = new BasicHttpContext();
HttpResponseInterceptor interceptor = new ResponseContentEncoding();
interceptor.process(response, context);
HttpEntity entity = response.getEntity();
Assert.assertNull(entity);
}
@Test