Assert.assertEquals("$Version=1; name2=\"value2\"", headers1[1].getValue());
Header[] headers2 = request.getHeaders(SM.COOKIE2);
Assert.assertNotNull(headers2);
Assert.assertEquals(0, headers2.length);
CookieOrigin cookieOrigin = (CookieOrigin) context.getAttribute(
ClientContext.COOKIE_ORIGIN);
Assert.assertNotNull(cookieOrigin);
Assert.assertEquals(this.target.getHostName(), cookieOrigin.getHost());
Assert.assertEquals(this.target.getPort(), cookieOrigin.getPort());
Assert.assertEquals("/", cookieOrigin.getPath());
Assert.assertFalse(cookieOrigin.isSecure());
}