@Test
public void testDecodingSingleCookieV0ExtraParamsIgnored() {

    String cookieString = "myCookie=myValue;max-age=50;path=/apathsomewhere;" +
            "domain=.adomainsomewhere;secure;comment=this is a comment;version=0;" +
            "commentURL=http://aurl.com;port=\"80,8080\";discard;";
    Cookie cookie = ClientCookieDecoder.STRICT.decode(cookieString);
    assertNotNull(cookie);
    assertEquals("myValue", cookie.value());
    assertEquals(".adomainsomewhere", cookie.domain());
    assertEquals(50, cookie.maxAge());
    assertEquals("/apathsomewhere", cookie.path());
    assertTrue(cookie.isSecure());
}