@Test
public void evaluateBooleanCompoundPredicate(){

	CompoundPredicate compoundPredicate = new CompoundPredicate(CompoundPredicate.BooleanOperator.AND, null)
		.addPredicates(True.INSTANCE, False.INSTANCE);
	assertEquals(Boolean.FALSE, evaluate(compoundPredicate));
	compoundPredicate.setBooleanOperator(CompoundPredicate.BooleanOperator.OR);
	assertEquals(Boolean.TRUE, evaluate(compoundPredicate));
	compoundPredicate.setBooleanOperator(CompoundPredicate.BooleanOperator.XOR);
	assertEquals(Boolean.TRUE, evaluate(compoundPredicate));
}