def METHOD_NAME(self, cwd, expected, sp_mock, cwd_mock):
    sp_mock.side_effect = CalledProcessError(128, ["git", "config", "--get", "remote.origin.url"])
    cwd_mock.return_value = cwd
    project_name = get_project_name()
    expected_hash = hashlib.sha256()
    expected_hash.update(expected.encode("utf-8"))
    self.assertEqual(project_name, expected_hash.hexdigest())