@Test(expected=IllegalStateException.class)
public void testBadOperator() {

    predicate.setOperator(BAD_OP);
    SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(predicate);
    String text = ssp.getPredicateRule();
    assertNull(text);
}