def METHOD_NAME(self, matcher: MultiMatcher) -> None:
    bad_config1 = {
        "path_patterns": [],
        "content_patterns": [],
        "required_matches": {"unknown_path_pattern1": (), "unknown_path_pattern2": ()},
    }
    with pytest.raises(
        ValueError,
        match="required_matches uses unknown path pattern names: unknown_path_pattern1, unknown_path_pattern2",
    ):
        MultiMatcher(ValidationConfig.from_dict(bad_config1))
    bad_config2 = {
        "path_patterns": [{"name": "dummy", "pattern": "dummy"}],
        "content_patterns": [],
        "required_matches": {"dummy": ("unknown_content_pattern1",)},
    }
    with pytest.raises(
        ValueError,
        match="required_matches uses unknown content "
        "pattern names: unknown_content_pattern1",
    ):
        MultiMatcher(ValidationConfig.from_dict(bad_config2))