def METHOD_NAME(self, matcher: MultiMatcher) -> None:
    with pytest.raises(
        ValueError,
        match=r"Path matched patterns with multiple content encodings \(ascii, utf8\): hello\/world.foo",
    ):
        matcher.get_applicable_content_pattern_names("hello/world.foo")