@Test
    void testSingleWordForRewritesAsEquivAndOriginalAsUnit() {
        utils.assertRewrittenQuery("?query=obama&type=all&" +
                REWRITER_NAME + "." + RewriterConstants.REWRITES_AS_EQUIV + "=true&" +
                REWRITER_NAME + "." + RewriterConstants.ORIGINAL_AS_UNIT + "=true",
                "query 'OR obama (AND obama \"nobel peace prize\") " +
                        "(AND obama wiki) (AND obama nobel prize) " +
                        "(AND obama nobel peace prize) (AND obama wears mom jeans) " +
                        "(AND obama sucks) (AND obama news) (AND malia obama) " +
                        "(AND obama speech) (AND obama nobel) (AND obama wikipedia) " +
                        "(AND barack obama biography) (AND obama snl) " +
                        "(AND obama peace prize) (AND michelle obama) (AND barack obama)'");
    }
Single word query for RewritesAsEquiv and OriginalAsUnit on case
container-search/src/test/java/com/yahoo/search/query/rewrite/test/NameRewriterTestCase.java