testResidualAndIllegalType()
Tests if NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName does not match the NodeDef
and nodeTypeName does not matches the node type of a residual
NodeDef.

void

testResidualAndLegalType()
Tests if NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true if childNodeName does not match the NodeDef
but nodeTypeName matches the node type of a residual NodeDef.

void

testUndefined()
Tests if NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName does not match the NodeDef.

testResidualAndIllegalType

Tests if NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName does not match the NodeDef
and nodeTypeName does not matches the node type of a residual
NodeDef.