void (@NotNull GradleTestsExecutionConsole executionConsole, @NotNull ExternalSystemTaskNotificationEvent event) { if (event instanceof ExternalSystemTaskExecutionEvent) { ExternalSystemProgressEvent progressEvent = ((ExternalSystemTaskExecutionEvent)event).getProgressEvent(); OperationDescriptor descriptor = progressEvent.getDescriptor(); if (descriptor instanceof TestOperationDescriptor) { //noinspection unchecked GradleTestEventsProcessor.onStatusChange(executionConsole, progressEvent); } } }