Esempio n. 1
0
 public static void assertSiblings(CoreChildNode node1, CoreChildNode node2)
     throws DeferredBuildingException {
   Assert.assertSame(node2, node1.coreGetNextSibling());
   Assert.assertSame(node1, node2.coreGetPreviousSibling());
 }
Esempio n. 2
0
 public static void assertOrphan(CoreChildNode node) throws DeferredBuildingException {
   Assert.assertNull(node.coreGetParent());
   Assert.assertNull(node.coreGetPreviousSibling());
   Assert.assertNull(node.coreGetNextSibling());
 }