public static ObjectMapper createObjectMapper() {
        final ObjectMapper objectMapper = new ObjectMapper();
        registerModules(objectMapper);
        return objectMapper;
    }
@Test
    void testObjectMappeDateTimeSupportedEnabled() throws Exception {
        final ObjectMapper mapper = JacksonMapperFactory.createObjectMapper();

        final String instantString = "2022-08-07T12:00:33.107787800Z";
        final Instant instant = Instant.parse(instantString);
        final String instantJson = String.format("{\"data\":\"%s\"}", instantString);

        assertThat(mapper.writeValueAsString(new TypeWithInstant(instant))).isEqualTo(instantJson);
        assertThat(mapper.readValue(instantJson, TypeWithInstant.class).data).isEqualTo(instant);
    }