@Test
    void requireThatCookieCanBeEncoded() {
        assertEncodeCookie(
                "foo.name=foo.value",
                List.of(newCookie("foo")));
        assertEncodeCookie(
                "foo.name=foo.value;bar.name=bar.value",
                List.of(newCookie("foo"), newCookie("bar")));
    }
@author Simon Thoresen Hult
@author bjorncs
container-core/src/test/java/com/yahoo/jdisc/http/CookieTestCase.java