public ObjectMapper getObjectMapper() {
        return mapObjectMapper;
    }
@Test
    public void shouldSerializeAndDeserializeThrowable() throws JsonProcessingException {
        //given
        ObjectMapper objectMapper = JsonJacksonCodec.INSTANCE.getObjectMapper();
        //when
        String serialized = objectMapper.writeValueAsString(new RuntimeException("Example message"));
        RuntimeException deserialized = objectMapper.readValue(serialized, RuntimeException.class);
        //then
        Assertions.assertEquals("Example message", deserialized.getMessage());
    }