Assert.assertEquals("Remote counter (via dead parent): ", -1, monitor.incrementParent());
Assert.assertFalse("parent.remove() fails", monitor.removeParent());
// Confirm nested beans still work following parent remove
Assert.assertEquals("Remote counter (direct):", 2 ,nested.increment());
Assert.assertEquals("Local counter (monitor):", 1 , monitor.incrementLocalNested());
Assert.assertEquals("Deep nested id", deepId, monitor.getDeepNestedId());
Assert.assertEquals("Local deep nested id", localDeepId, monitor.getLocalDeepNestedId());
// Remove the bottom tier
Assert.assertTrue("Local deep nested removed", monitor.removeLocalDeepNested());