@Test
void should_send_consumed_message_over_websocket(@Mock SimpMessagingTemplate webSocket) {

    ErrorMessage message = ErrorMessage.of("id", "error");
    new WebSocketErrorMessageSender(webSocket).consumeMessage(message);
    verify(webSocket).convertAndSend(
            WebSocketErrorMessageSender.TOPIC_ERROR,
            PortableErrorMessage.fromMessage(message));
}