def METHOD_NAME():
    """Check that we can test for forbidden glyphs in output."""
    check = CheckTester(shaping_profile, "com.google.fonts/check/shaping/forbidden")
    shaping_test = {
        "configuration": {"forbidden_glyphs": [".notdef"]},
        "tests": [{"input": "日"}],
    }
    with tempfile.TemporaryDirectory() as tmp_gf_dir:
        json.dump(
            shaping_test,
            open(os.path.join(tmp_gf_dir, "test.json"), "w", encoding="utf-8"),
        )
        config = {"com.google.fonts/check/shaping": {"test_directory": tmp_gf_dir}}
        font = TEST_FILE("cjk/SourceHanSans-Regular.otf")
        assert_PASS(check(wrap_args(config, font)), "Source Han contains CJK")
        font = TEST_FILE("slabo/Slabo13px.ttf")
        assert_results_contain(
            check(wrap_args(config, font)),
            FAIL,
            "shaping-forbidden",
            "Slabo shapes .notdef for CJK",
        )