public void verifyEqualsContractPositive(Object x,Object y,Object z){
  Assert.assertTrue(x.equals(x));
  Assert.assertTrue(x.equals(y) && y.equals(x));
  Assert.assertTrue(x.equals(y) && y.equals(z) && x.equals(z));
  Assert.assertTrue(x.equals(y));
  Assert.assertTrue(x.equals(y));
  Assert.assertTrue(x.equals(y));
  Assert.assertTrue(y.equals(z));
  Assert.assertTrue(y.equals(z));
  Assert.assertTrue(y.equals(z));
  Assert.assertFalse(x.equals(null));
  Assert.assertFalse(y.equals(null));
  Assert.assertFalse(z.equals(null));
}

public void verifyEqualsContractPositive ( Object x , Object y , Object z ) { Assert . assertTrue ( x . equals ( x ) ) ; Assert . assertTrue ( x . equals ( y ) && y . equals ( x ) ) ; Assert . assertTrue ( x . equals ( y ) && y . equals ( z ) && x . equals ( z ) ) ; Assert . assertTrue ( x . equals ( y ) ) ; Assert . assertTrue ( x . equals ( y ) ) ; Assert . assertTrue ( x . equals ( y ) ) ; Assert . assertTrue ( y . equals ( z ) ) ; Assert . assertTrue ( y . equals ( z ) ) ; Assert . assertTrue ( y . equals ( z ) ) ; Assert . assertFalse ( x . equals ( null ) ) ; Assert . assertFalse ( y . equals ( null ) ) ; Assert . assertFalse ( z . equals ( null ) ) ; }
< p > verify that the objects passed as paremeters obey the general contract of equals ( ) , as listed in item 7 of bloch ' s effective java .
