public static TableFactoryHelper createTableFactoryHelper(
            DynamicTableFactory factory, DynamicTableFactory.Context context) {
        return new TableFactoryHelper(factory, context);
    }
@Test
    void testFactoryHelperWithEnrichmentOptions() {
        final Map<String, String> options = new HashMap<>();
        options.put(TestDynamicTableFactory.TARGET.key(), "abc");
        options.put(TestDynamicTableFactory.BUFFER_SIZE.key(), "1000");

        final Map<String, String> enrichment = new HashMap<>();
        enrichment.put(TestDynamicTableFactory.TARGET.key(), "xyz");
        enrichment.put(TestDynamicTableFactory.BUFFER_SIZE.key(), "2000");

        final FactoryUtil.TableFactoryHelper helper =
                FactoryUtil.createTableFactoryHelper(
                        new TestDynamicTableFactory(),
                        FactoryMocks.createTableContext(SCHEMA, options, enrichment));

        helper.validate();

        assertThat(helper.getOptions().get(TestDynamicTableFactory.TARGET)).isEqualTo("abc");
        assertThat(helper.getOptions().get(TestDynamicTableFactory.BUFFER_SIZE)).isEqualTo(2000);
    }