def METHOD_NAME(self):
    dispatcher = NodeCommandDispatcher(engine_ver=2, node_id="node_id")
    runtime = "runtime"
    runtime_init = MagicMock(return_value=runtime)
    get_data_return = MagicMock()
    get_data_return.result = True
    get_data_return.data = {"inputs": {}}
    retry_node_return = MagicMock()
    retry_node_return.result = True
    retry_node_return.message = "success"
    bamboo_api = MagicMock()
    bamboo_api.get_data = MagicMock(return_value=get_data_return)
    bamboo_api.retry_node = MagicMock(return_value=retry_node_return)
    with patch(TASKFLOW_DISPATCHERS_NODE_BAMBOO_RUNTIME, runtime_init):
        with patch(TASKFLOW_DISPATCHERS_NODE_BAMBOO_API, bamboo_api):
            result = dispatcher.retry_v2(operator="tester", inputs={})
    bamboo_api.get_data.assert_called_once_with(runtime=runtime, node_id="node_id")
    bamboo_api.retry_node.assert_called_once_with(runtime=runtime, node_id="node_id", data=None)
    self.assertEqual(result, {"result": True, "code": err_code.SUCCESS.code, "message": "success"})