assertThat(textOf(firstChildOf(rootChild))).isEqualTo("branch1.1");
}
@RunsInEDT
private static void addNodeToRootAndHideRoot(final JTree tree) {
execute(new GuiTask() {
@Override
protected void executeInEDT() {
Object root = tree.getModel().getRoot();
DefaultMutableTreeNode rootNode = (DefaultMutableTreeNode) root;
rootNode.add(node("child"));