AbstractRegistrationTree { protected final void releaseLock() { writeLock.unlock(); } protected  AbstractRegistrationTree(); final @NonNull RegistrationTreeSnapshot<T> takeSnapshot();  }
@Test(expected = IllegalMonitorStateException.class) public void unlockTest() throws Exception { this.releaseLock(); }