public void test_setConnectionInitSqls() throws Exception { DruidPooledConnection conn = dataSource.getConnection().unwrap(DruidPooledConnection.class); conn.close(); dataSource.setConnectionInitSqls(null); }
public void test_setConnectionInitSqls_1() throws Exception { dataSource.setConnectionInitSqls(Collections.emptyList()); dataSource.setConnectionInitSqls(Collections.singleton(null)); }