def METHOD_NAME():
    # Verify that the execution flows through.
    ret = kernel.do_execute(code, False)
    kernel.user_code_parser.get_code_to_run.assert_called_once_with(code)
    assert execute_cell_mock.called_once_with(ret, True)
    assert execute_cell_mock.return_value is ret
    assert kernel._fatal_error is None
    assert execute_cell_mock.called_once_with(code, True)
    assert ipython_display.send_error.call_count == 0