String cookie1Value = "ID=a95756377b78e75e:FF=0:TM=1392709628:LM=1392709628:S=a5mOVvTB7DBkexgi";
String cookie1Domain = ".google.com";
String cookie1Path = "/";
String cookie1Header = cookie1Name + '=' + cookie1Value
+ "; expires=Thu, 18-Feb-2016 07:47:08 GMT; path=" + cookie1Path + "; domain=" + cookie1Domain;
nettyResponse.headers().add(HttpHeaders.Names.SET_COOKIE, cookie1Header);
HttpClientResponse<ByteBuf> response = new HttpClientResponse<ByteBuf>(nettyResponse, UnicastContentSubject.<ByteBuf>createWithoutNoSubscriptionTimeout());
Map<String,Set<Cookie>> cookies = response.getCookies();
Assert.assertNotNull("Cookies are null.", cookies);
Assert.assertEquals("Cookies are empty.", 1, cookies.size());
Set<Cookie> cookies1 = cookies.get(cookie1Name);