@Test
    void testNotFilterEmptyQuery() {
        Item item = tester.assertParsed("-|foo", "", "-foo", Query.Type.ANY);
        assertTrue(item instanceof NotItem);
        assertTrue(((NotItem) item).getPositiveItem() instanceof TrueItem);
    }
Various tests for prefix, substring, and suffix terms *
container-search/src/test/java/com/yahoo/prelude/query/parser/test/ParseTestCase.java