assertNotNull(ports);
assertEquals(3, ports.length);
assertEquals(80, ports[0]);
assertEquals(800, ports[1]);
assertEquals(8000, ports[2]);
assertTrue(cookie.containsAttribute(ClientCookie.PORT_ATTR));
}
public void testParsePortDefault() throws Exception {
CookieSpec cookiespec = new RFC2965Spec();
CookieOrigin origin = new CookieOrigin("www.domain.com", 80, "/", false);