mockC2.expects(once()).method("accept")
.with(same(visitor)).after(mockVisior, "v");
mockC3.expects(once()).method("accept")
.with(same(visitor)).after(mockVisior, "v");
c.accept(visitor);
}
public void testMixingOrAndNot() {
Constraint c = new Or(c1, new Not(c2), c3);