server.addProjectInfo("proj2", proj2Info);
// Construct the ConfigTree to be tested.
ConfigTree tree = new ConfigTree(server);
TreeModel model = tree.getModel();
RootNode root = (RootNode) model.getRoot();
// Verify that each project node uses the correct schedule node.
assertEquals(2, root.getChildCount());
ProjectNode proj1 = (ProjectNode) root.getChildAt(0);
ProjectNode proj2 = (ProjectNode) root.getChildAt(1);
tree.expandPath(new TreePath(proj1.getPath()));
assertEquals(1, proj1.getChildCount());
tree.expandPath(new TreePath(proj2.getPath()));