@Test
    void requireThatCookieCanBeDecoded() {
        final Cookie foo = new Cookie();
        foo.setName("foo.name");
        foo.setValue("foo.value");
        assertDecodeCookie(List.of(newCookie("foo")), "foo.name=foo.value");

        final Cookie bar = new Cookie();
        bar.setName("bar.name");
        bar.setValue("bar.value");
        assertDecodeCookie(List.of(foo, bar), "foo.name=foo.value; bar.name=bar.value");
    }
@author Simon Thoresen Hult
@author bjorncs
container-core/src/test/java/com/yahoo/jdisc/http/CookieTestCase.java