NodeType type = nodeDef.getDeclaringNodeType();
assertTrue("NodeType.canRemoveItem(String itemName) must return true " +
"if itemName is not a protected nor a mandatory child node def.",
type.canRemoveItem(nodeDef.getName()));
assertTrue("NodeType.canRemoveNode(String nodeName) must return true " +
"if nodeName is not a protected nor a mandatory child node def.",
type.canRemoveNode(nodeDef.getName()));
}