def METHOD_NAME(
    self, mock_runtime_config, mock_global_args, mock_command_args,
    mock_load_command, mock_setLogLevel
):
    Defaults.set_platform_name('x86_64')
    mock_global_args.return_value = {
        '--debug': None,
        '--logfile': None,
        '--logsocket': None,
        '--debug-run-scripts-in-screen': None,
        '--color-output': None,
        '--loglevel': '10',
    }
    self.task = CliTask()
    mock_setLogLevel.assert_called_once_with(10)