@Test
public void testMixedPredUsingAnd() {

	CompoundPredicate predicate = new CompoundPredicate();
	predicate.setBooleanOperator("and");
	setupSimplePredicate(0,"TF1",SimpleSegmentPredicate.EQUAL,"ABC");
	Array valueSet = getNewArray("int", new BigInteger("3"), 10, 12, 1);
	setupSimpleSetPredicate(0,"TF2","isIn",valueSet);
	
	predicate.getSimplePredicatesAndCompoundPredicatesAndSimpleSetPredicates().add(simplePredicate[0]);
	predicate.getSimplePredicatesAndCompoundPredicatesAndSimpleSetPredicates().add(simpleSetPredicate[0]);
	CompoundSegmentPredicate testPredicate = new CompoundSegmentPredicate(predicate);
	String text = testPredicate.getPredicateRule();
	assertNotNull(text);
	assertEquals(text,"((( mTF1 == false ) && ( vTF1 == \"ABC\" )) && (( mTF2 == false ) && ( vTF2 in (  10,  12,  1 ) )))");
}