@staticmethod
def test_dispatch_notification_no_handler():
    logger = utils.get_mock_logger()
    message = JSONRPCMessage.create_notification('non_existent', {})
    server = JSONRPCServer(None, None, logger=logger)
    server._dispatch_message(message)
    logger.warn.assert_called_once()
@staticmethod
def test_dispatch_notification_no_handler():
    logger = utils.get_mock_logger()
    message = JSONRPCMessage.create_notification('non_existent', {})
    server = JSONRPCServer(None, None, logger=logger)
    server._dispatch_message(message)
    logger.warn.assert_called_once()