@Test
public void parsesCookieHeaderAndReturnsFirstIfMoreThanOneIsParsed() throws Exception {

    Cookie cookie = cookieHeaderDelegate.fromString("foo=bar;xxx=yyy");
    assertEquals(new Cookie("foo", "bar"), cookie);
}