@Test
public void testDecodingMultipleCookies() {

    String c1 = "myCookie=myValue;";
    String c2 = "myCookie2=myValue2;";
    String c3 = "myCookie3=myValue3;";
    Set<Cookie> cookies = ServerCookieDecoder.STRICT.decode(c1 + c2 + c3);
    assertEquals(3, cookies.size());
    Iterator<Cookie> it = cookies.iterator();
    Cookie cookie = it.next();
    assertNotNull(cookie);
    assertEquals("myValue", cookie.value());
    cookie = it.next();
    assertNotNull(cookie);
    assertEquals("myValue2", cookie.value());
    cookie = it.next();
    assertNotNull(cookie);
    assertEquals("myValue3", cookie.value());
}