void (@NotNull final T runner, @NotNull final String stdout, @NotNull final String stderr, @NotNull final String all, int exitCode) { for (final String functionName : myFunctionsToCheck) { ReadAction.run((ThrowableRunnable<AssertionError>)() -> { final AbstractTestProxy method = runner.findTestByName(functionName); checkMethod(method, functionName); }); } }