void (AnAction action, String file, CodeInsightTestFixture fixture) { String extension = FileUtilRt.getExtension(file); String name = FileUtilRt.getNameWithoutExtension(file); fixture.configureByFile(file); fixture.testAction(action); fixture.checkResultByFile(name + "_after." + extension); }