@SuppressWarnings("unchecked")
    public static <T extends SpecificRecord> TypeInformation<Row> convertToTypeInfo(
            Class<T> avroClass) {
        return convertToTypeInfo(avroClass, true);
    }
@Test
    void testAvroClassConversion() {
        validateUserSchema(AvroSchemaConverter.convertToTypeInfo(User.class));
    }