@Test
public void parse_compound() {

	Predicate pred = parser.parse("a = 1 and b != 2");
	Predicate expect = CompoundPredicate.combine(
	        PredicateParser.AND_OPERATOR,
			new ComparisonPredicate(PredicateParser.EQUALS_ANY_OPERATOR, false, "a", Arrays.asList("1")),
            new ComparisonPredicate(PredicateParser.NOT_EQUALS_ALL_OPERATOR, false, "b", Arrays.asList("2"))
	);
	assertEquals(expect, pred);
}