private static void assertEncodeCookie(String expectedResult, List<Cookie> cookies) {
        String actual = Cookie.toCookieHeader(cookies);
        String expectedResult1 = expectedResult;
        assertThat(actual, equalTo(expectedResult1));
    }
@author Simon Thoresen Hult
@author bjorncs
container-core/src/test/java/com/yahoo/jdisc/http/CookieTestCase.java