def METHOD_NAME(self, find_replace):
    task_config = TaskConfig({"options": {"find": "foo", "path": ".", "max": 1}})
    task = util.FindReplace(self.project_config, task_config, self.org_config)
    task()
    find_replace.assert_called_once()