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

        Query query = new Query();
        AndItem andItem = new AndItem();
        andItem.addItem(new WordItem("no"));
        andItem.addItem(new WordItem("such"));
        andItem.addItem(new WordItem("phrase"));
        query.getModel().getQueryTree().setRoot(andItem);

        new Execution(searcher, Execution.Context.createContextStub()).search(query);

        assertEquals("AND no such phrase", query.getModel().getQueryTree().getRoot().toString());

    }
Tests phrasing stuff

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