TreeModel model = tree.getModel();
RootNode root = (RootNode) model.getRoot();
assertEquals(1, root.getChildCount());
PluginPluginNode plugin = (PluginPluginNode) root.getChildAt(0);
assertEquals("modificationset", plugin.getAttributeValue("name"));
assertEquals(ModificationSet.class.getName(), plugin.getAttributeValue("classname"));
assertEquals(2, plugin.getChildCount());
BasicNode svn = (BasicNode) plugin.getChildAt(0);
assertEquals("svn", svn.getName());
assertTrue(svn.isLeaf());
BasicNode git = (BasicNode) plugin.getChildAt(1);
assertEquals("git", git.getName());
assertTrue(git.isLeaf());
}