@Override
    public int getLoginTimeout() throws SQLException {
        Map<String, StorageUnit> storageUnits = contextManager.getStorageUnits(databaseName);
        return storageUnits.isEmpty() ? 0 : storageUnits.values().iterator().next().getDataSource().getLoginTimeout();
    }
@Test
    void assertEmptyDataSourceMap() throws Exception {
        try (ShardingSphereDataSource actual = new ShardingSphereDataSource(DefaultDatabase.LOGIC_NAME, null)) {
            assertTrue(getContextManager(actual).getStorageUnits(DefaultDatabase.LOGIC_NAME).isEmpty());
            assertThat(actual.getLoginTimeout(), is(0));
        }
    }