@Test
public void lockingWriteLockOnlyLocksWriteLock() {

  ReentrantReadWriteLock delegate = new ReentrantReadWriteLock();
  ProfiledReentrantReadWriteLock testSubject = new ProfiledReentrantReadWriteLock(delegate, Ticker.systemTicker(), LABEL);
  testSubject.writeLock().lock();
  Assert.assertEquals(0, delegate.getReadHoldCount());
  Assert.assertEquals(1, delegate.getWriteHoldCount());
}