@Test
    void testInvalidFSAConfigPath() {
        // Instantiate Name Rewriter with fake FSA path
        RewritesConfig config = QueryRewriteSearcherTestUtils.createConfigObj(FAKE_FSA_CONFIG_PATH);
        HashMap<String, File> fileList = new HashMap<>();
        fileList.put(NameRewriter.NAME_ENTITY_EXPAND_DICT, new File(FAKE_FSA_PATH));
        NameRewriter nameRewriterWithFakePath = new NameRewriter(config, fileList);

        // Instantiate Misspell Rewriter
        MisspellRewriter misspellRewriter = new MisspellRewriter();

        // Create a chain of two rewriters
        ArrayList<Searcher> searchers = new ArrayList<>();
        searchers.add(misspellRewriter);
        searchers.add(nameRewriterWithFakePath);

        Execution execution = QueryRewriteSearcherTestUtils.createExecutionObj(searchers);
        QueryRewriteSearcherTestUtils utilsWithFakePath = new QueryRewriteSearcherTestUtils(execution);

        utilsWithFakePath.assertRewrittenQuery("?query=will smith&type=all&" +
                NAME_REWRITER_NAME + "." +
                RewriterConstants.REWRITES_AS_UNIT_EQUIV + "=true",
                "query 'AND will smith'");
    }
Invalid FSA config path
Query will be passed to next rewriter
container-search/src/test/java/com/yahoo/search/query/rewrite/test/QueryRewriteSearcherTestCase.java