void (Surrounder surrounder) { myFixture.configureByFile("/surround/" + getTestName(false) + ".json"); SurroundWithHandler.invoke(myFixture.getProject(), myFixture.getEditor(), myFixture.getFile(), surrounder); myFixture.checkResultByFile("/surround/" + getTestName(false) + "_after.json", true); }