@Test public void testOr() { Constraint myconstraint1 = createMock(Constraint.class); Constraint myconstraint2 = createMock(Constraint.class); Constraint myconstraint3 = createMock(Constraint.class); Constraint myconstraint4 = createMock(Constraint.class); new Or(myconstraint1); new Or(myconstraint1, myconstraint2); new Or(myconstraint1, myconstraint2, myconstraint3); new Or(myconstraint1, myconstraint2, myconstraint3, myconstraint4); new Or(null, myconstraint2); new Or(myconstraint1, null); new Or(null, myconstraint2, myconstraint3); new Or(myconstraint1, null, myconstraint3); new Or(myconstraint1, myconstraint2, null); new Or(null, myconstraint2, myconstraint3, myconstraint4); new Or(myconstraint1, null, myconstraint3, myconstraint4); new Or(myconstraint1, myconstraint2, null, myconstraint4); new Or(myconstraint1, myconstraint2, myconstraint3, null); }
public Or() { }
Or extends Logic { public Or() { } }
Or extends Logic { public Or() { } Or();  Or(Constraint... subConstraints);  Or(List<Constraint> asList); }
Or extends Logic { public Or() { } Or();  Or(Constraint... subConstraints);  Or(List<Constraint> asList); @Override String toString(); @Override boolean equals(Object a); @Override int hashCode(); }
Or extends Logic { public Or() { } Or();  Or(Constraint... subConstraints);  Or(List<Constraint> asList); @Override String toString(); @Override boolean equals(Object a); @Override int hashCode();  }