public void testExpand() {
   TreePath rootPath = collapseRoot();
   myTree.setSelectionPath(rootPath);
   TreeExpandCollapse.expand(myTree);
   checkExpanded(rootPath);
   checkCollapsed(myChildAPath);
 }
 public void testTotalExpandWithoutSelection() {
   collapseRoot();
   myTree.clearSelection();
   TreeExpandCollapse.expand(myTree);
   checkCollapsed(new TreePath(myRoot));
   checkCollapsed(myChildAPath);
   checkCollapsed(myChildBPath);
 }
 public void testExpandWithoutSelection() {
   myTree.clearSelection();
   TreeExpandCollapse.expand(myTree);
 }