@Test
public void testEquals() {

  Constraint myconstraint1 = createMock(Constraint.class);
  Constraint myconstraint2 = createMock(Constraint.class);
  Constraint myconstraint3 = createMock(Constraint.class);
  Constraint myconstraint4 = createMock(Constraint.class);
  Or myOr1 = new Or(myconstraint1, myconstraint2);
  Or myOr2 = new Or(myconstraint4, myconstraint3);
  Assert.assertFalse(myOr1.equals(null));
  Assert.assertFalse(myOr1.equals(myOr2));
  Assert.assertTrue(myOr1.equals(myOr1));
}