@Test
public void testReset() throws InterruptedException, IOException {

  final LockingManagement memoryLockManager = new MemoryLockManager("default");
  final Transaction t1 = Transaction.AUTO_COMMIT;
  final FeatureLock lock = new FeatureLock("auth2", 1 /* minute */);
  memoryLockManager.lockFeatureID("sometime", "f2", t1, lock);
  memoryLockManager.refresh("auth2", t1);
  assertTrue(memoryLockManager.exists("auth2"));
  memoryLockManager.release("auth2", t1);
  assertFalse(memoryLockManager.exists("auth2"));
}