protected void setUp() throws Exception {
    System.setProperty("druid.mysql.usePingMethod", "false");

    dataSource = new DruidDataSource();
    dataSource.setUrl("jdbc:mock:xxx");
    dataSource.setDbType("mysql");
    dataSource.setValidationQuery("select 1");
    dataSource.setValidConnectionChecker(new MySqlValidConnectionChecker());
    dataSource.setInitialSize(1);
    dataSource.setTestOnBorrow(true);
  }
  protected void setUp() throws Exception {
    TabularData sqlList = JdbcStatManager.getInstance().getSqlList();
    if (sqlList.size() > 0) {
      for (Object item : JdbcStatManager.getInstance().getSqlList().values()) {
        String text = JSONUtils.toJSONString(item);
        System.out.println(text);
      }
    }

    Assert.assertEquals(0, JdbcStatManager.getInstance().getSqlList().size());

    dataSource = new DruidDataSource();
    dataSource.setUrl("jdbc:mock:xx");
    dataSource.setFilters("mergeStat");
    dataSource.setDbType("mysql");
  }