@Test
public void test() throws HttpException, IOException
{

   HttpRequest request = Mockito.mock(HttpRequest.class);
   HttpResponse response = Mockito.mock(HttpResponse.class);
   DebugInterceptor dbg = new DebugInterceptor();
   dbg.process(request, null);
   dbg.process(response, null);
   Mockito.verify(request, Mockito.only()).getAllHeaders();
}