@Test
public void addAccumulator() {

    final JdbcHighWaterMark highWaterMark = new JdbcHighWaterMark();
    final JdbcHighWaterMarkAccumulableParam param = new JdbcHighWaterMarkAccumulableParam();
    param.addAccumulator(highWaterMark, 1L);
    Assert.assertEquals(new Long(1L), highWaterMark.getValue());
    param.addAccumulator(highWaterMark, 2L);
    Assert.assertEquals(new Long(2L), highWaterMark.getValue());
}