@Test
public void testUnequality1() {

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