@Test
    void testPositive1() {
        AndItem root = new AndItem();
        root.addItem(new WordItem("a"));
        PhraseItem embedded = new PhraseItem();
        embedded.addItem(new WordItem("bcd"));
        root.addItem(embedded);
        root.addItem(new WordItem("e"));
        assertEquals("AND a bcd e",
                transformQuery(root));
    }
Check CollapsePhraseSearcher works and only is triggered when it
should.

@author Steinar Knutsen
container-search/src/test/java/com/yahoo/prelude/querytransform/test/CollapsePhraseSearcherTestCase.java