public Map<Class<?>, Class<? extends TypeInfoFactory<?>>> getRegisteredTypeInfoFactories() {
        return registeredTypeInfoFactories;
    }
@Test
    void testLoadingTypeInfoFactoriesFromSerializationConfig() {
        String serializationConfigStr =
                "{org.apache.flink.api.common.serialization.SerializerConfigImplTest:"
                        + " {type: typeinfo, class: org.apache.flink.api.common.serialization.SerializerConfigImplTest$TestTypeInfoFactory}}";
        SerializerConfig serializerConfig = getConfiguredSerializerConfig(serializationConfigStr);

        assertThat(serializerConfig.getRegisteredTypeInfoFactories())
                .containsExactly(
                        new AbstractMap.SimpleEntry<>(
                                SerializerConfigImplTest.class, TestTypeInfoFactory.class));
    }