def METHOD_NAME(self, path_mock):
    code_dir_mock = MagicMock()
    code_dir_mock.resolve.return_value.__str__.return_value = "code_dir"
    manifest_path_mock = MagicMock()
    manifest_path_mock.resolve.return_value.__str__.return_value = "manifest_path"
    manifest_path_mock.resolve.return_value.is_file.return_value = True
    path_mock.side_effect = [code_dir_mock, manifest_path_mock]
    self.generator = DependencyHashGenerator("code_uri", "base_dir", "runtime")
    hash = self.generator.hash
    self.file_checksum_mock.assert_called_once_with("manifest_path", hash_generator=None)
    self.assertEqual(hash, "checksum")
    path_mock.assert_any_call("base_dir", "code_uri")
    path_mock.assert_any_call("code_dir", "manifest_file")