@Test
    void requireThatDefaultValuesAreSane() {
        Cookie cookie = new Cookie("foo", "bar");
        assertEquals("foo", cookie.getName());
        assertEquals("bar", cookie.getValue());
        assertNull(cookie.getDomain());
        assertEquals(Integer.MIN_VALUE, cookie.getMaxAge(TimeUnit.SECONDS));
        assertNull(cookie.getPath());
        assertEquals(false, cookie.isHttpOnly());
        assertEquals(false, cookie.isSecure());
    }
@author Simon Thoresen Hult
@author bjorncs
container-core/src/test/java/com/yahoo/jdisc/http/CookieTestCase.java