// test reaping
reaper.insert(reapable, 1); // seconds
reaper.insert(reapable2, 5);
assertEquals(2, reaper.numberOfTransactions());
assertEquals(2, reaper.numberOfTimeouts());
reaper.check();
assertEquals(2, reaper.numberOfTransactions());
Thread.sleep(2*1000);
reaper.check();
assertEquals(1, reaper.numberOfTransactions());