void (@NotNull AnAction action) { myFixture.configureByFile(getTestName(true) + "_before.java"); assertTrue(myFixture.testAction(action).isEnabled()); myFixture.checkResultByFile(getTestName(true) + "_after.java"); }