@Deprecated
    public static DynamicTableSource createTableSource(
            @Nullable Catalog catalog,
            ObjectIdentifier objectIdentifier,
            ResolvedCatalogTable catalogTable,
            ReadableConfig configuration,
            ClassLoader classLoader,
            boolean isTemporary) {
        final DefaultDynamicTableContext context =
                new DefaultDynamicTableContext(
                        objectIdentifier,
                        catalogTable,
                        Collections.emptyMap(),
                        configuration,
                        classLoader,
                        isTemporary);

        return createDynamicTableSource(
                getDynamicTableFactory(DynamicTableSourceFactory.class, catalog, context),
                objectIdentifier,
                catalogTable,
                Collections.emptyMap(),
                configuration,
                classLoader,
                isTemporary);
    }
@Test
    void testManagedConnector() {
        final Map<String, String> options = createAllOptions();
        options.remove("connector");
        final DynamicTableSource actualSource = createTableSource(SCHEMA, options);
        assertThat(actualSource).isExactlyInstanceOf(TestManagedTableSource.class);
    }