GovernanceShardingSphereDataSource extends AbstractUnsupportedOperationDataSource implements AutoCloseable { @Override public Connection getConnection() { return schemaContexts.isCircuitBreak() ? new CircuitBreakerDataSource().getConnection() : new ShardingSphereConnection(getDataSourceMap(), schemaContexts, transactionContexts, TransactionTypeHolder.get()); } GovernanceShardingSphereDataSource(final GovernanceConfiguration governanceConfig);  GovernanceShardingSphereDataSource(final Map<String, DataSource> dataSourceMap, final Collection<RuleConfiguration> ruleConfigs, 
                                              final Properties props, final GovernanceConfiguration governanceConfig); @Override Connection getConnection(); @Override Connection getConnection(final String username, final String password); @Override void close();  }
@Test public void assertInitializeGovernanceShardingSphereDataSource() throws SQLException { assertThat(new GovernanceShardingSphereDataSource(getGovernanceConfiguration()).getConnection(), instanceOf(Connection.class)); }