### Question:
PageList { long unlockWriteAndTryTakeFlushLock( long pageRef ) { return OffHeapPageLock.unlockWriteAndTryTakeFlushLock( offLock( pageRef ) ); } PageList( int pageCount, int cachePageSize, MemoryAllocator memoryAllocator, SwapperSet swappers,
              long victimPageAddress, long bufferAlignment );   PageList( PageList pageList );   }### Answer:
@Test( expected = IllegalMonitorStateException.class ) public void unlockWriteAndTryTakeFlushLockMustThrowIfNotWriteLockedButExclusiveLocked() { pageList.unlockWriteAndTryTakeFlushLock( pageRef ); }