public static void checkDataSourceConnection(HikariDataSource ds) {
        java.sql.Connection connection = null;
        try {
            connection = ds.getConnection();
        } catch (Exception e) {
            throw new RuntimeException(e);
        } finally {
            if (connection != null) {
                try {
                    connection.close();
                } catch (Exception e) {
                    LOGGER.error(e.getMessage(), e);
                }
            }
        }
    }
@Test
    void testCheckConnectionNormal() throws SQLException {
        HikariDataSource ds = mock(HikariDataSource.class);
        Connection connection = mock(Connection.class);
        when(ds.getConnection()).thenReturn(connection);
        ConnectionCheckUtil.checkDataSourceConnection(ds);
        verify(ds).getConnection();
        verify(connection).close();
    }