@Test
public void testEquality3() {

    BasicClientCookie cookie1 = new BasicClientCookie("name1", "value");
    cookie1.setPath(null);
    BasicClientCookie cookie2 = new BasicClientCookie("name1", "value");
    cookie2.setPath("/");
    Comparator<Cookie> comparator = new CookiePathComparator();
    Assert.assertTrue(comparator.compare(cookie1, cookie2) == 0);
    Assert.assertTrue(comparator.compare(cookie2, cookie1) == 0);
}