def METHOD_NAME(self, find_replace_regex):
    task_config = TaskConfig({"options": {"find": "foo", "path": "."}})
    task = util.FindReplaceRegex(self.project_config, task_config, self.org_config)
    task()
    find_replace_regex.assert_called_once()