sb.append("yada yada yada yada\r\n");
}
final String s = sb.toString();
final HttpAsyncRequestProducer httppost = HttpAsyncMethods.createPost(
target.toURI() + "/echo/stuff", s,
ContentType.create("text/plain", Consts.ASCII));
final BufferingCharConsumer consumer = Mockito.spy(new BufferingCharConsumer());
final Future<String> future = this.httpclient.execute(httppost, consumer, null);
final String result = future.get();
Assert.assertEquals(s, result);