void (@NotNull TreeModelEvent event, @NotNull EventType type) { if (!myAlreadyDone && getTestCount() != 0) { myAlreadyDone = true; EdtInvocationManager.getInstance().invokeLater(() -> { TreeUtil.collapseAll(DiscoveredTestsTree.this, 0); TreeUtil.promiseSelectFirst(DiscoveredTestsTree.this); }); } }