public static CsvMapper createCsvMapper() {
        final CsvMapper csvMapper = new CsvMapper();
        registerModules(csvMapper);
        return csvMapper;
    }
@Test
    void testCsvMapperDateTimeSupportedEnabled() throws Exception {
        final CsvMapper mapper = JacksonMapperFactory.createCsvMapper();

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

        final ObjectWriter writer = mapper.writerWithSchemaFor(TypeWithInstant.class);

        assertThat(writer.writeValueAsString(new TypeWithInstant(instant))).isEqualTo(instantCsv);

        final ObjectReader reader = mapper.readerWithSchemaFor(TypeWithInstant.class);

        assertThat(reader.readValue(instantCsv, TypeWithInstant.class).data).isEqualTo(instant);
    }