### Question:
DefaultJdbcComponent implements IJdbcComponent { @Override public IJdbcClient createStandalone(JdbcOptionsBean config) { return createShared(dsNameFromConfig(config), config); } DefaultJdbcComponent(); @Override synchronized IJdbcClient createShared(String dsName, JdbcOptionsBean config); @Override IJdbcClient createStandalone(JdbcOptionsBean config); @Override IJdbcClient create(DataSource ds);  }### Answer:
@Test public void testStandalone() throws Throwable { DefaultJdbcComponent component = new DefaultJdbcComponent(); JdbcOptionsBean config = new JdbcOptionsBean(); config.setAutoCommit(true); config.setJdbcUrl("jdbc:h2:mem:testStandalone;DB_CLOSE_DELAY=-1"); config.setUsername("sa"); config.setPassword(""); IJdbcClient client = component.createStandalone(config); doAllTests(client); }