}
}
public void testEqualsAndHashCode()
{
ClassPathEntry one = createDefault();
ClassPathEntry two = createDefault();
assertEquals(one, two);
assertEquals(two, one);
assertEquals(one.hashCode(), two.hashCode());
two = createPathAndSuffixes("", null);
assertEquals(one, two);
assertEquals(two, one);
assertEquals(one.hashCode(), two.hashCode());
one = createPathAndSuffixes("path", "suffixes");
two = createPathAndSuffixes("path", "suffixes");
assertEquals(one, two);
assertEquals(two, one);
assertEquals(one.hashCode(), two.hashCode());
one = createPathAndSuffixes("path", "suffixes");
two = createPathAndSuffixes("not-path", "suffixes");
assertNotSame(one, two);
assertNotSame(two, one);
assertNotSame(one.hashCode(), two.hashCode());
one = createPathAndSuffixes("path", "suffixes");
two = createPathAndSuffixes("Path", "not-suffixes");
assertNotSame(one, two);
assertNotSame(two, one);
assertNotSame(one.hashCode(), two.hashCode());
one = createPathAndSuffixes("path", "suffixes");
two = createPathAndSuffixes("Path", null);
assertNotSame(one, two);
assertNotSame(two, one);
assertNotSame(one.hashCode(), two.hashCode());
}