XMLParentNode node2 = (XMLParentNode) node1SubElements.get(0);
assertEquals(NAME_NODE_2, node2.getName());
assertEquals(NAMESPACE_NODE_2, node2.getNamespace());
assertTrue(XMLTextNode.class.isAssignableFrom(baseNodeElements.get(1).getClass()));
XMLTextNode textElement = (XMLTextNode) baseNodeElements.get(1);
assertEquals(NAME_TEXT_NODE, textElement.getName());
assertEquals(NAMESPACE_TEXT_NODE, textElement.getNamespace());
assertEquals(VALUE_TEXT_NODE, textElement.getValue());
}