public static <T> CsvReaderFormat<T> forSchema(
            CsvSchema schema, TypeInformation<T> typeInformation) {
        return forSchema(JacksonMapperFactory::createCsvMapper, ignored -> schema, typeInformation);
    }
@Test
    void testForSchemaWithMapperSerializability() throws IOException, ClassNotFoundException {
        final CsvReaderFormat<Pojo> format =
                CsvReaderFormat.forSchema(
                        () -> new CsvMapper(),
                        mapper -> mapper.schemaFor(Pojo.class),
                        TypeInformation.of(Pojo.class));

        final byte[] bytes = InstantiationUtil.serializeObject(format);
        InstantiationUtil.deserializeObject(bytes, CsvReaderFormatTest.class.getClassLoader());
    }