Assert.assertEquals(2, dataSource.getConnectProperties().size());
Assert.assertEquals("5", dataSource.getConnectProperties().getProperty("b"));
Assert.assertEquals("6", dataSource.getConnectProperties().getProperty("c"));
StatFilter filter = dataSource.unwrap(StatFilter.class);
Assert.assertNotNull(filter);
Assert.assertFalse(filter.isMergeSql());
dataSource.setConnectionProperties("b=5;c=6;druid.stat.mergeSql=true");
Assert.assertTrue(filter.isMergeSql());
Assert.assertEquals(3, dataSource.getConnectProperties().size());
Assert.assertEquals("true", dataSource.getConnectProperties().getProperty("druid.stat.mergeSql"));
Assert.assertEquals("5", dataSource.getConnectProperties().getProperty("b"));
Assert.assertEquals("6", dataSource.getConnectProperties().getProperty("c"));
dataSource.setConnectionProperties("b=5;c=6;druid.stat.mergeSql=false");
Assert.assertFalse(filter.isMergeSql());
Assert.assertEquals("false", dataSource.getConnectProperties().getProperty("druid.stat.mergeSql"));
Assert.assertEquals("5", dataSource.getConnectProperties().getProperty("b"));
Assert.assertEquals("6", dataSource.getConnectProperties().getProperty("c"));
}