"</modificationset></project>" +
"</cruisecontrol>",
"Proj1",
"Proj2");
TreeModel model = tree.getModel();
RootNode root = (RootNode) model.getRoot();
// Check for 2 project nodes.
assertEquals(2, root.getChildCount());
ProjectNode proj1 = (ProjectNode) root.getChildAt(0);
ProjectNode proj2 = (ProjectNode) root.getChildAt(1);
assertEquals("Proj1", proj1.getName());
assertEquals("Proj1", proj1.getAttributeValue("name"));
assertEquals("Proj2", proj2.getName());