}
@Test
public void testAndOrRemove() throws Exception {
Session s = getSession();
Nop a = new Nop();
Nop b = new Nop();
ConditionAndOr toGo = new ConditionAndOr(s, 0, a, b);
ConditionAndOr root = new ConditionAndOr(s, 0, toGo, new Nop());
toGo.remove(a);
assertTrue(root.getLeft() == b);
assertEquals("(1=1 AND 1=1)", root.getSQL(new ArrayList()));