this.takeLock();
this.addRegistration(registrationTreeNode, registration);
assertTrue(registrationTreeNode.getRegistrations().contains(registration));
+ this.releaseLock();
this.removeRegistration(registrationTreeNode, registration);
assertFalse(registrationTreeNode.getRegistrations().contains(registration));
public void unlockTest() throws Exception {
this.releaseLock();
}
-}
\ No newline at end of file
+}