@Test
public void containsAll() throws Exception {

    List<Cookie> content = Arrays.asList(cookie, brownieCookie);
    CookieCollection cookies = new CookieCollection(content);
    Assert.assertTrue(cookies.containsAll(content));
    Assert.assertTrue(cookies.containsAll(Collections.singletonList(cookie)));
    Assert.assertFalse(cookies.containsAll(Arrays.asList(cookie, brownieCookie, cupsCookie)));
    Assert.assertTrue(cookies.containsAll(Arrays.asList(COOKIE_NAME, BROWNIE_NAME)));
}