public void testBug4808() throws Exception {
  MysqlConnectionPoolDataSource ds=new MysqlConnectionPoolDataSource();
  ds.setURL(BaseTestCase.dbUrl);
  PooledConnection closeMeTwice=ds.getPooledConnection();
  closeMeTwice.close();
  closeMeTwice.close();
}

public void testBug4808 ( ) throws Exception { MysqlConnectionPoolDataSource ds = new MysqlConnectionPoolDataSource ( ) ; ds . setURL ( BaseTestCase . dbUrl ) ; PooledConnection closeMeTwice = ds . getPooledConnection ( ) ; closeMeTwice . close ( ) ; closeMeTwice . close ( ) ; }
tests fix for bug # 4808 - calling . close ( ) twice on a pooledconnection causes npe .
