@Test
public void testToString() throws Exception {

    Cookie cookie = new Cookie("foo", "bar", "/aaa", "andrew.com");
    assertEquals("$Version=1;foo=bar;$Domain=andrew.com;$Path=/aaa", cookieHeaderDelegate.toString(cookie));
}