@Test
    void testNoFileNoChange() {
        Searcher searcher = new PhrasingSearcher("");

        Query query = new Query();
        AndItem andItem = new AndItem();
        andItem.addItem(new WordItem("no", "anindex"));
        andItem.addItem(new WordItem("such", "anindex"));
        andItem.addItem(new WordItem("phrase", "indexo"));
        OrItem orItem = new OrItem();
        orItem.addItem(new WordItem("habla"));
        orItem.addItem(new WordItem("babla"));
        orItem.addItem(new WordItem("habla"));
        andItem.addItem(orItem);
        query.getModel().getQueryTree().setRoot(andItem);

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

        assertEquals("AND anindex:no anindex:such indexo:phrase (OR habla babla habla)", 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