@Test
public void isEmpty() throws Exception {

    CookieCollection cookies = new CookieCollection();
    Assert.assertTrue(cookies.isEmpty());
    cookies.add(cookie);
    Assert.assertFalse(cookies.isEmpty());
}