assertEquals("parentNode", element.getName()); //$NON-NLS-1$
node = (MappingNode)element.getNodeChildren().get(0);
assertTrue(node instanceof MappingChoiceNode);
MappingChoiceNode choice = (MappingChoiceNode)node;
assertTrue(choice.throwExceptionOnDefault());
node = (MappingNode)choice.getNodeChildren().get(0);
assertTrue(node instanceof MappingCriteriaNode);
MappingCriteriaNode criteria = (MappingCriteriaNode)node;
assertEquals("childNodeCriteria", criteria.getCriteria()); //$NON-NLS-1$