def METHOD_NAME(self):
    lstrip_paths = [
        f"{self._mangle_path(str(Path(__file__).parent))}/resolver/dir_resolver/",
        f"{self._mangle_path(str(Path(__file__).parent))}/resolver/colliding_dir_resolver/",
    ]
    paths = [
        str(Path(__file__).parent / "resolver" / "dir_resolver" / "subdir"),
        str(
            Path(__file__).parent
            / "resolver"
            / "colliding_dir_resolver"
            / "subdir"
        ),
    ]
    uris = [f"dir:{path}" for path in paths]
    resolver = DirectoryResolver(lstrip_paths=lstrip_paths)
    with self.assertRaises(PrefixError):
        resolver.hash_artifacts(uris)