@Test
public void testSimplePredUsingOr() {

	CompoundPredicate predicate = new CompoundPredicate();
	predicate.setBooleanOperator("or");
	setupSimplePredicate(0,"TF1",SimpleSegmentPredicate.LESSER_EQUAL,"0");
	setupSimplePredicate(1,"TF1",SimpleSegmentPredicate.GREATER,"4");
	for (int x = 0; x < 2; x++) {
		predicate.getSimplePredicatesAndCompoundPredicatesAndSimpleSetPredicates().add(simplePredicate[x]);
	}
	CompoundSegmentPredicate testPredicate = new CompoundSegmentPredicate(predicate);
	String text = testPredicate.getPredicateRule();
	assertNotNull(text);
	assertEquals(text,"((( mTF1 == false ) && ( vTF1 <= 0 )) || (( mTF1 == false ) && ( vTF1 > 4 )))");
}