@Test
void withQueryTimeout() {

    PoolItem<Connection> connection = new PoolItem<>(null);
    Connections.checkConnectionState(connection, new SQLTimeoutException("Statement cancelled due to timeout or client request"));
    assertThat(connection.broken).isTrue();
}