@staticmethod
def test_echo_request():
    rc = utils.MockRequestContext()
    params = {}
    JSONRPCServer._handle_echo_request(rc, params)
    rc.send_response.assert_called_once_with(params)
    rc.send_notification.assert_not_called()
    rc.send_error.assert_not_called()
@staticmethod
def test_echo_request():
    rc = utils.MockRequestContext()
    params = {}
    JSONRPCServer._handle_echo_request(rc, params)
    rc.send_response.assert_called_once_with(params)
    rc.send_notification.assert_not_called()
    rc.send_error.assert_not_called()