void () { final Map<VirtualFile, DefaultMutableTreeNode> middle1map = FileStructure.createNodeMap(myFs.myMiddle1); assertClear(); myCm.toggleSelection(middle1map.get(myFs.myInner11)); afterInner11(); // though selected in smaller subtree myCm.toggleSelection(middle1map.get(myFs.myInner11)); assertClear(); myCm.toggleSelection(middle1map.get(myFs.myInner11)); afterInner11(); // though selected in smaller subtree myCm.toggleSelection(middle1map.get(myFs.myMiddle1)); afterMiddle1(); // though selected in smaller subtree }