@Test
    void testNoPhrasingIfDifferentIndices() {
        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("tudor", "someindex"));
        andItem.addItem(new WordItem("vidor", "anotherindex"));
        query.getModel().getQueryTree().setRoot(andItem);

        new Execution(searcher, Execution.Context.createContextStub()).search(query);
        CompositeItem item = (CompositeItem) query.getModel().getQueryTree().getRoot();

        assertTrue(item.getItem(0) instanceof WordItem);
        WordItem word = (WordItem) item.getItem(0);
        assertEquals("tudor", word.getWord());

        assertTrue(item.getItem(1) instanceof WordItem);
        word = (WordItem) item.getItem(1);
        assertEquals("vidor", word.getWord());
    }
Tests phrasing stuff

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