root.setExpanded(true);
assertFalse(innerNode.getExpanded());
ExpandNodeAction expand = new ExpandNodeAction(treeViewer, cEditor.getXmlProcessor());
treeViewer.getTree().setSelection(innerNode);
expand.run();
assertTrue(innerNode.getExpanded());
CollapseNodeAction collapse = new CollapseNodeAction(treeViewer, cEditor.getXmlProcessor());
treeViewer.getTree().setSelection(innerNode);
collapse.run();