pooled.releaseConnection(conn1);
// close it behind the pool's back, bad dog
conn1.close();
DatabaseConnection conn2 = pooled.getReadWriteConnection();
assertNotSame(conn1, conn2);
conn2.queryForLong(pingStatement);
pooled.releaseConnection(conn2);
DatabaseConnection conn3 = pooled.getReadWriteConnection();
assertSame(conn2, conn3);
conn3.queryForLong(pingStatement);
pooled.releaseConnection(conn3);