void (@NotNull final Project project, final AbstractTestProxy root, final TestConsoleProperties properties, TestResultPresentation testResultPresentation) { if (project.isDisposed()) return; if (properties == null) return; TestStatusListener.notifySuiteFinished(root, properties.getProject()); final String windowId = properties.getWindowId(); final ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(project); final String title = testResultPresentation.getTitle(); final String text = testResultPresentation.getText(); final String balloonText = testResultPresentation.getBalloonText(); final MessageType type = testResultPresentation.getType(); ToolWindow toolWindow = toolWindowManager.getToolWindow(windowId); if (toolWindow != null && !toolWindow.isVisible()) { NotificationGroup group = NotificationGroupManager.getInstance().getNotificationGroup("Test Results"); group.createNotification(balloonText, type).setToolWindowId(windowId).notify(project); } NOTIFICATION_GROUP.createNotification(balloonText, type).notify(project); SystemNotifications.getInstance().notify("TestRunner", title, text); }