boolean ( @NotNull Project project, @Nullable String externalProjectPath, TestRunner @NotNull ... runners ) { TestRunner testRunner = GradleProjectSettings.getTestRunner(project, externalProjectPath); return ContainerUtil.exists(runners, it -> it.equals(testRunner)); }