final UriHttpAsyncRequestHandlerMapper registry = new UriHttpAsyncRequestHandlerMapper();
registry.register("*", new BasicAsyncRequestHandler(new TestHandler(true)));
final HttpHost target = start(registry, null);
final File tmpdir = FileUtils.getTempDirectory();
this.tmpfile = new File(tmpdir, "dst.test");
final TestZeroCopyPost httppost = new TestZeroCopyPost(target.toURI() + "/bounce", true);
final TestZeroCopyConsumer consumer = new TestZeroCopyConsumer(this.tmpfile);
final Future<Integer> future = this.httpclient.execute(httppost, consumer, null);
final Integer status = future.get();
Assert.assertNotNull(status);
Assert.assertEquals(HttpStatus.SC_OK, status.intValue());