assertTrue(list.get(3) instanceof MappingSequenceNode);
assertTrue(list.get(4) instanceof MappingAllNode);
}
public void testAddRecursiveElement() {
MappingDocument doc = new MappingDocument(false);
MappingElement root = doc.addChildElement(new MappingElement("root")); //$NON-NLS-1$
MappingElement nodeA = root.addChildElement(new MappingElement("NodeA", "test.nodea")); //$NON-NLS-1$ //$NON-NLS-2$
nodeA.setSource("recursive.test"); //$NON-NLS-1$
MappingSequenceNode seq = nodeA.addSequenceNode(new MappingSequenceNode());