StaticBuffer lockCol = recordExceptionLockWrite(1, TimeUnit.NANOSECONDS, null, errOnFire);
recordSuccessfulLockDelete(1, TimeUnit.NANOSECONDS, lockCol);
recordSuccessfulLocalUnlock();
ctrl.replay();
StorageException expected = null;
try {
locker.writeLock(defaultLockID, defaultTx); // SUT
} catch (PermanentLockingException e) {
expected = e;
}
assertNotNull(expected);
assertEquals(errOnFire, expected.getCause());
}