@Test
public void contains() throws Exception {

    CookieCollection cookies = new CookieCollection(cookie);
    Assert.assertTrue(cookies.contains(cookie));
    Assert.assertTrue(cookies.contains(COOKIE_NAME));
    Assert.assertFalse(cookies.contains("yuck"));
}