void (@NotNull String before, @NotNull String after, final AnAction action) { myFixture.configureByText(GroovyFileType.GROOVY_FILE_TYPE, before); myFixture.testAction(action); myFixture.checkResult(after); }