def METHOD_NAME(mock_client_request, fake_backfill_run, event_loop, is_error, result, expected):
    mock_client_request.return_value.error = is_error
    mock_client_request.return_value.content["result"] = result
    assert expected == event_loop.run_until_complete(fake_backfill_run.create())