void (AbstractProjectViewPane pane, PsiClass psiClass) { JTree tree = pane.getTree(); int rowCount = tree.getRowCount(); for (int i = 0; i < rowCount; i++) { tree.addSelectionRow(i); } pane.select(psiClass, psiClass.getContainingFile().getVirtualFile(), true); assertThat(tree.getSelectionPaths()).hasSize(7); }