question: public void testBug4808 ( ) throws Exception { MysqlConnectionPoolDataSource ds = new MysqlConnectionPoolDataSource ( ) ; ds . setURL ( BaseTestCase . dbUrl ) ; PooledConnection closeMeTwice = ds . getPooledConnection ( ) ; closeMeTwice . close ( ) ; closeMeTwice . close ( ) ; }
target:  Tests fix for BUG#4808- Calling .close() twice on a PooledConnection causes NPE.