@Test
    void testQSSRewriteWithRewrite() {
        IntentModel intentModel = new IntentModel(
                utils.createInterpretation("will smith rw1", 0.9,
                        true, false),
                utils.createInterpretation("will smith rw2", 0.9,
                        true, false),
                utils.createInterpretation("will smith sugg", 1.0,
                        false, true));

        utils.assertRewrittenQuery("?query=willl+smith&" +
                REWRITER_NAME + "." + RewriterConstants.QSS_RW + "=true",
                "query 'OR (WEAKAND(100) willl smith) (WEAKAND(100) will smith rw1)'",
                intentModel);
    }
QSSRewrite is on
QLAS returns spell correction: qss_rw=0.9 qss_rw=0.9 qss_sugg=1.0
container-search/src/test/java/com/yahoo/search/query/rewrite/test/MisspellRewriterTestCase.java