private void assertOptimized(String input, String expected) {
        try {
            assertOptimized(Expression.fromString(input), Expression.fromString(expected));
        } catch (ParseException e) {
            fail(e.getMessage());
        }
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
indexinglanguage/src/test/java/com/yahoo/vespa/indexinglanguage/ExpressionOptimizerTestCase.java