@Test
public void testReadUnlockAll() {

    GraphLock lock = new GraphLock();
    lock.readLock();
    lock.readLock();
    Assert.assertEquals(lock.readWriteLock.getReadHoldCount(), 2);
    lock.readUnlockAll();
    Assert.assertEquals(lock.readWriteLock.getReadLockCount(), 0);
}