### Question:
JdbcConnectorFactory implements ConnectorFactory { @Override public Connector create(String catalogName, Map<String, String> requiredConfig, ConnectorContext context) { requireNonNull(requiredConfig, "requiredConfig is null"); Bootstrap app = new Bootstrap( binder -> binder.bind(TypeManager.class).toInstance(context.getTypeManager()), binder -> binder.bind(NodeManager.class).toInstance(context.getNodeManager()), binder -> binder.bind(VersionEmbedder.class).toInstance(context.getVersionEmbedder()), new JdbcModule(catalogName), moduleProvider.getModule(catalogName)); Injector injector = app .strictConfig() .doNotInitializeLogging() .setRequiredConfigurationProperties(requiredConfig) .initialize(); return injector.getInstance(JdbcConnector.class); } JdbcConnectorFactory(String name, Module module);  JdbcConnectorFactory(String name, JdbcModuleProvider moduleProvider); @Override String getName(); @Override ConnectorHandleResolver getHandleResolver(); @Override Connector create(String catalogName, Map<String, String> requiredConfig, ConnectorContext context);  }### Answer:
@Test public void test() { ConnectorFactory connectorFactory = new JdbcConnectorFactory("test", new TestingH2JdbcModule()); connectorFactory.create("test", TestingH2JdbcModule.createProperties(), new TestingConnectorContext()); }