ForwardingHttpAsyncResponseConsumer implements HttpAsyncResponseConsumer<T> { @Override public void responseReceived(final HttpResponse response) throws IOException, HttpException { delegate().responseReceived(response); }  @Override void responseReceived(final HttpResponse response); @Override void consumeContent(final ContentDecoder decoder, final IOControl control); @Override void responseCompleted(final HttpContext context); @Override boolean cancel(); @Override boolean isDone(); @Override T getResult(); @Override void failed(final Exception e); @Override Exception getException(); @Override void close();  }
@Test void testResponseReceived() throws Exception { unit.responseReceived(response); verify(delegate).responseReceived(response); }