@Test
    void requireThatParenthesesWorks() {
        assertParsesTo("a in [b] or c in [d]",
                "(a in [b]) or (c in [d])");
        assertParsesTo("a in [b] or c in [d] or e in [f]",
                "(((a in [b]) or c in [d]) or e in [f])");
        assertParsesTo("(a in [b] and c in [d]) or e in [f]",
                "a in [b] and c in [d] or e in [f]");
        assertParsesTo("a in [b] and (c in [d] or e in [f])",
                "a in [b] and (c in [d] or e in [f])");
        assertParsesTo("a in [b] and (c in [d] or e in [f]) and g in [h]",
                "a in [b] and (c in [d] or e in [f]) and g in [h]");
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
predicate-search-core/src/test/java/com/yahoo/document/predicate/PredicateParserTest.java