def METHOD_NAME(self, mock_set_task_history, mock_update):
    user_id = 123
    test_task = Task()
    test_task.task_status = TaskStatus.MAPPED
    test_task.reset_task(user_id)
    mock_set_task_history.assert_called_with(
        TaskAction.STATE_CHANGE, user_id, None, TaskStatus.READY
    )
    mock_update.assert_called()
    self.assertEqual(test_task.task_status, TaskStatus.READY.value)