@Test
    void testExceptionInRewriter() {
        utils.assertRewrittenQuery("?query=will smith&type=all&" +
                MISSPELL_REWRITER_NAME + "." + RewriterConstants.QSS_RW + "=true&" +
                MISSPELL_REWRITER_NAME + "." + RewriterConstants.QSS_SUGG + "=true&" +
                NAME_REWRITER_NAME + "." + RewriterConstants.REWRITES_AS_UNIT_EQUIV +
                "=true&" +
                NAME_REWRITER_NAME + "." + RewriterConstants.ORIGINAL_AS_UNIT_EQUIV + "=true",
                "query 'OR (AND will smith) " +
                        "\"will smith\" \"will smith movies\" " +
                        "\"will smith news\" \"will smith imdb\" " +
                        "\"will smith lyrics\" \"will smith dead\" " +
                        "\"will smith nfl\" \"will smith new movie hancock\" " +
                        "\"will smith biography\"'");
    }
IntentModel is null and rewriter throws exception
It should skip to the next rewriter
container-search/src/test/java/com/yahoo/search/query/rewrite/test/QueryRewriteSearcherTestCase.java