@Test
    void testPartialPhrasingSuggestOnly() {
        Searcher searcher =
                new PhrasingSearcher("src/test/java/com/yahoo/prelude/querytransform/test/test-fsa.fsa");

        Query query = new Query("?query=void%20tudor%20vidor%20kanoo&suggestonly=true");
        new Execution(searcher, Execution.Context.createContextStub()).search(query);
        CompositeItem item = (CompositeItem) query.getModel().getQueryTree().getRoot();
        assertEquals("void", ((WordItem) item.getItem(0)).getWord());
        assertEquals("tudor", ((WordItem) item.getItem(1)).getWord());
        assertEquals("vidor", ((WordItem) item.getItem(2)).getWord());
        assertEquals("kanoo", ((WordItem) item.getItem(3)).getWord());
    }
Tests phrasing stuff

@author bratseth
@author Einar M R Rosenvinge
container-search/src/test/java/com/yahoo/prelude/querytransform/test/PhrasingSearcherTestCase.java