def METHOD_NAME(self) -> None:
    with self.assertRaisesRegex(
        Exception,
        "filename of the manifest 'foo' does not match the manifest name 'bar'",
    ):
        ManifestParser(
            "foo",
            """