Supplier<MadTestingAction> (@NotNull final Function<PsiFile, Generator<? extends MadTestingAction>> fileActions, @NotNull final CodeInsightTestFixture fixture, @NotNull final String testDataPath) { return MadTestingUtil.actionsOnFileContents(fixture, testDataPath, f -> f.getName().endsWith(".py"), fileActions); }