public void test_connect() throws Exception {
Field field = DruidDataSource.class.getDeclaredField("LOG");
field.setAccessible(true);
Log LOG = (Log) field.get(null);
LOG.resetStat();
Assert.assertEquals(0, LOG.getErrorCount());
dataSource.init();
Assert.assertEquals(0, LOG.getErrorCount());
}