@Override
    public boolean containsActiveConnection(final DataSource dataSource) {
        return 0 != getActiveConnections(dataSource);
    }
@Test
    void assertContainsActiveConnection() throws SQLException {
        DataSource dataSource = createHikariDataSource();
        try (Connection ignored = dataSource.getConnection()) {
            assertTrue(new HikariDataSourcePoolActiveDetector().containsActiveConnection(dataSource));
        }
    }