@Test(groups = { "standalone", "default_provider", "async" })
public void asyncDoGetCookieTest() throws Exception {
AsyncHttpClient client = getAsyncHttpClient(null);
try {
final CountDownLatch l = new CountDownLatch(1);
FluentCaseInsensitiveStringsMap h = new FluentCaseInsensitiveStringsMap();
h.add("Test1", "Test1");
h.add("Test2", "Test2");
h.add("Test3", "Test3");
h.add("Test4", "Test4");
h.add("Test5", "Test5");
final Cookie coo = Cookie.newValidCookie("foo", "value", "value", "/", "/", -1L, -1, false, false);
client.prepareGet(getTargetUrl()).setHeaders(h).addCookie(coo).execute(new AsyncCompletionHandlerAdapter() {
@Override