@staticmethod
def test_dispatch_response_error():
    message = JSONRPCMessage.create_error('123', 0, message='', data={})
    server = JSONRPCServer(None, None, logger=utils.get_mock_logger())
    server._dispatch_message(message)
@staticmethod
def test_dispatch_response_error():
    message = JSONRPCMessage.create_error('123', 0, message=, data={})
    server = JSONRPCServer(None, None, logger=utils.get_mock_logger())
    server._dispatch_message(message)