ForwardingHttpAsyncResponseConsumer implements HttpAsyncResponseConsumer<T> { @Override public Exception getException() { return delegate().getException(); }  @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 @SuppressWarnings("ThrowableResultOfMethodCallIgnored") void testGetException() throws Exception { unit.getException(); verify(delegate).getException(); }