DeterministicVertex p = new DeterministicVertex(), q= new DeterministicVertex();
p.addUserDatum(JUConstants.LABEL, "A", UserData.SHARED);
q.addUserDatum(JUConstants.LABEL, "B", UserData.SHARED);
assertFalse(p.equals(q));
assertTrue(p.compareTo(q)<0);
assertTrue(q.compareTo(p)>0);
assertFalse(p.hashCode() == q.hashCode());
assertEquals(0,p.compareTo(p));
assertEquals(0,q.compareTo(q));
}