}
public void testConditionList() {
BooleanCondition b1 = new BooleanCondition(l1, "=", l2);
BooleanCondition b2 = new BooleanCondition(l2, "=", l3);
ConditionList c1 = new ConditionList(Joiner.AND, GenericTestCaseBase.<Condition>list(b1));
conditionListTest("c1", c1, Joiner.AND, list(b1), "( 1 = 5 )", null, false);
ConditionList c2 = new ConditionList(Joiner.AND, GenericTestCaseBase.<Condition>list(b1, b2));
conditionListTest("c2", c2, Joiner.AND, list(b1, b2), "( 1 = 5 AND 5 = 10 )", c1, false);
ConditionList c3 = new ConditionList(Joiner.OR, GenericTestCaseBase.<Condition>list(b2, b1));
conditionListTest("c3", c3, Joiner.OR, list(b2, b1), "( 5 = 10 OR 1 = 5 )", c1, false);
ConditionList c4 = new ConditionList(Joiner.AND, GenericTestCaseBase.<Condition>list(b1));
conditionListTest("c4", c4, Joiner.AND, list(b1), "( 1 = 5 )", c1, true);
}