};
HttpRequest request = new BasicHttpRequest("GET", "/");
HttpContext context = new BasicHttpContext();
this.executor.execute(
new BasicAsyncRequestProducer(target, request),
new BasicAsyncResponseConsumer(),
this.connpool, context, callback);
Assert.assertTrue(latch.await(5, TimeUnit.SECONDS));
Assert.assertTrue(responseStreamClosed.await(5, TimeUnit.SECONDS));