@Test
    void testPartialPhraseMaxRewriteAdvType() {
        utils.assertRewrittenQuery("?query=(modern new york city travel phone number) OR (travel agency) OR travel&type=adv&" +
                REWRITER_NAME + "." + RewriterConstants.PARTIAL_PHRASE_MATCH + "=true&" +
                REWRITER_NAME + "." + RewriterConstants.MAX_REWRITES + "=3",
                "query 'OR (AND modern (OR (AND rewrite11 rewrite12) rewrite2 rewrite3 " +
                        "(AND new york city travel)) (OR pn (AND phone number))) ta (AND travel agency) " +
                        "tr travel'");
    }
MaxRewrites=3, PartialPhraseMatch is on, type=adv case
container-search/src/test/java/com/yahoo/search/query/rewrite/test/GenericExpansionRewriterTestCase.java