// make sure name matches and caridinality of root is reset; as there can be only one root
assertEquals("parentNode", element.getName()); //$NON-NLS-1$
assertEquals(1, element.getMinOccurence());
assertEquals(1, element.getMaxOccurence());
MappingNode node1 = (MappingNode)element.getNodeChildren().get(0);
assertTrue(node1 instanceof MappingSourceNode);
MappingSourceNode source = (MappingSourceNode)node1;
assertEquals("childNodeSource", source.getResultName()); //$NON-NLS-1$