@Test
public void size() throws Exception {

    CookieCollection cookies = new CookieCollection();
    Assert.assertEquals(0, cookies.size());
    cookies.add(cookie);
    Assert.assertEquals(1, cookies.size());
}