void (@NotNull CodeInsightAction action) { String testName = getTestName(true); myFixture.configureByFile(testName + ".sh"); Project project = myFixture.getProject(); Editor editor = myFixture.getEditor(); action.actionPerformedImpl(project, editor); myFixture.checkResultByFile(testName + ".after.sh"); }