public class SynchronizationAssertDsl2<T>
extends java.lang.Object
| Constructor and Description |
|---|
SynchronizationAssertDsl2(T realThing,
SynchronizationAssertionWorkflow<T> assertionWorkflow) |
| Modifier and Type | Method and Description |
|---|---|
void |
thenLocksCorrectly() |
void |
thenLocksCorrectlyOn(java.lang.Object monitorObject) |
void |
thenLocksCorrectlyOn(java.util.concurrent.locks.ReentrantLock lock) |
void |
thenLocksReadCorrectlyOn(java.util.concurrent.locks.ReentrantReadWriteLock lock) |
void |
thenLocksWriteCorrectlyOn(java.util.concurrent.locks.ReentrantReadWriteLock lock) |
public SynchronizationAssertDsl2(T realThing, SynchronizationAssertionWorkflow<T> assertionWorkflow)
public void thenLocksCorrectly()
public void thenLocksCorrectlyOn(java.lang.Object monitorObject)
public void thenLocksCorrectlyOn(java.util.concurrent.locks.ReentrantLock lock)
public void thenLocksReadCorrectlyOn(java.util.concurrent.locks.ReentrantReadWriteLock lock)
public void thenLocksWriteCorrectlyOn(java.util.concurrent.locks.ReentrantReadWriteLock lock)