void () { myFixture.configureByFile("smartEnter/" + getTestName(false) + ".json"); final List<SmartEnterProcessor> processors = SmartEnterProcessors.INSTANCE.forKey(JsonLanguage.INSTANCE); WriteCommandAction.runWriteCommandAction(myFixture.getProject(), () -> { final Editor editor = myFixture.getEditor(); for (SmartEnterProcessor processor : processors) { processor.process(myFixture.getProject(), editor, myFixture.getFile()); } }); myFixture.checkResultByFile("smartEnter/" + getTestName(false) + "_after.json", true); }