@Override
    public Connection getConnection(final String databaseName, final ContextManager contextManager) {
        return new ShardingSphereConnection(databaseName, contextManager);
    }
@Test
    void assertGetConnection() {
        ContextManager contextManager = mock(ContextManager.class, RETURNS_DEEP_STUBS);
        when(contextManager.getMetaDataContexts().getMetaData().getGlobalRuleMetaData()).thenReturn(new RuleMetaData(Collections.singleton(mock(TransactionRule.class, RETURNS_DEEP_STUBS))));
        Connection actual = new OKDriverState().getConnection(DefaultDatabase.LOGIC_NAME, contextManager);
        assertThat(actual, instanceOf(ShardingSphereConnection.class));
    }