def METHOD_NAME(self) -> None:
    current_dir = os.path.dirname(__file__)
    valid_dir_path = os.path.join(current_dir, "resources")
    results_file_path = os.path.join(current_dir, "resources/runner_results/results.sarif")
    runner = Runner()
    checks = ["CKV_OPENAPI_1", "CKV_OPENAPI_4", "CKV_OPENAPI_3"]
    report = runner.run(
        root_folder=valid_dir_path,
        runner_filter=RunnerFilter(framework=['openapi'], checks=checks)
    )
    self.assertEqual(len(report.failed_checks), 12)
    self.assertEqual(report.parsing_errors, [])
    self.assertEqual(len(report.passed_checks), 6)
    self.assertEqual(report.skipped_checks, [])
    with open(results_file_path) as f:
        expected_report_dict = json.loads(f.read())
    json_sarif_report = Sarif(reports=[report], tool="test").json
    self.assertEqual(len(json_sarif_report["runs"][0]["results"]), len(expected_report_dict["runs"][0]["results"]))