@Test
    void testRemoveFalseItemInOr() {
        CompositeItem root = new OrItem();
        AndItem and = new AndItem(); // this gets collapse to just FALSE, which is then removed
        root.addItem(and);
        and.addItem(new WordItem("i1"));
        and.addItem(new FalseItem());
        root.addItem(new WordItem("i1")); // ... which causes the OR to collapse, leaving this
        assertCanonicalized("i1", null, root);
    }
Multiple levels of RANK should collapse
container-search/src/test/java/com/yahoo/prelude/query/test/QueryCanonicalizerTestCase.java