private void testConvert(String predicate, String expected, int arity) {
        Predicate p = Predicate.fromString(predicate);
        ComplexNodeTransformer transformer = new ComplexNodeTransformer();
        Predicate converted = transformer.process(p, new PredicateOptions(arity, lowerBound, upperBound));
        assertEquals(expected, converted.toString());
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
predicate-search-core/src/test/java/com/yahoo/search/predicate/optimization/ComplexNodeTransformerTest.java