void (@NotNull Project project, @NotNull Runnable r) { startTestRunnable(r); if (DumbService.isDumbAware(r)) { runAndFinishTestRunnable(r); } else { DumbService.getInstance(project).runWhenSmart(DisposeAwareRunnable.create(() -> runAndFinishTestRunnable(r), project)); } }