@Test
    void requireThatSetCookieCanBeEncoded() {
        assertEncodeSetCookie(
                List.of("foo.name=foo.value; Path=path; Domain=domain; Secure; HttpOnly",
                        "foo.name=foo.value; Path=path; Domain=domain; Secure; HttpOnly; SameSite=None"),
                List.of(newSetCookie("foo"),
                        newSetCookie("foo").setSameSite(Cookie.SameSite.NONE)));
    }
@author Simon Thoresen Hult
@author bjorncs
container-core/src/test/java/com/yahoo/jdisc/http/CookieTestCase.java