@Test
    void testNegative() {
        NotItem root = new NotItem();

        root.addNegativeItem(new WordItem("negative"));
        assertCanonicalized("-negative", null, root);
    }
Multiple levels of RANK should collapse
container-search/src/test/java/com/yahoo/prelude/query/test/QueryCanonicalizerTestCase.java