void (final String extension, final String actionId) { myFixture.configureByFile(getTestName(true) + "." + extension); myFixture.performEditorAction(actionId); myFixture.checkResultByFile(getTestName(true) + "_after." + extension); }