@Test
public void remove() throws Exception {

    CookieCollection cookies = new CookieCollection(cookie, brownieCookie, cupsCookie);
    cookies.remove(cookie);
    Assert.assertEquals(2, cookies.size());
    Assert.assertFalse(cookies.contains(cookie));
    Assert.assertFalse(cookies.contains(COOKIE_NAME));
    Assert.assertTrue(cookies.contains(brownieCookie));
    Assert.assertTrue(cookies.contains(BROWNIE_NAME));
}