@Test
    void testPartialPhraseNoMaxRewriteAdvTypeFilter() {
        utils.assertRewrittenQuery("?query=ca OR (modern new york city travel phone number) OR (travel agency) OR travel&" +
                "type=adv&filter=citystate:santa clara ca&" +
                REWRITER_NAME + "." + RewriterConstants.PARTIAL_PHRASE_MATCH + "=true&" +
                REWRITER_NAME + "." + RewriterConstants.REWRITES_AS_UNIT_EQUIV + "=true&" +
                REWRITER_NAME + "." + RewriterConstants.MAX_REWRITES + "=0",
                "query 'RANK (OR california ca (AND modern (OR \"rewrite11 rewrite12\" " +
                        "rewrite2 rewrite3 rewrite4 rewrite5 (AND new york city travel)) " +
                        "(OR pn (AND phone number))) ta (AND travel agency) tr travel) " +
                        "|citystate:santa |clara |ca'");
    }
MaxRewrites=0 (i.e No MaxRewrites), PartialPhraseMatch is on, type=adv, added filter case
container-search/src/test/java/com/yahoo/search/query/rewrite/test/GenericExpansionRewriterTestCase.java