def METHOD_NAME(self):
    lstrip_path = (
        f"{self._mangle_path(str(Path(__file__).parent))}/resolver/"
    )
    target_path = str(Path(__file__).parent / "resolver" / "dir_resolver")
    resolver = DirectoryResolver(
        lstrip_paths=[lstrip_path],
        normalize_line_endings=True,
    )
    full_uri = f"dir:{target_path}"
    stripped_uri = "dir:dir_resolver"
    # Expected hash calculated using:
    # find . -type f | cut -c3- | LC_ALL=C sort | xargs -r sha256sum | sha256sum | cut -f1 -d' '
    expected_artifact_dict = {
        stripped_uri: {
            "sha256": "ecdbcdc6bd5d2966ad1f7595874fcd6f505abd3feaa97e27bae74bcb78c38e54"
        }
    }
    artifact_dict = resolver.hash_artifacts([full_uri])
    self.assertEqual(artifact_dict, expected_artifact_dict)