void (boolean down) { final String testName = getTestName(false); if (down) { myFixture.configureByFile("mover/" + testName + ".json"); myFixture.performEditorAction(IdeActions.ACTION_MOVE_STATEMENT_DOWN_ACTION); myFixture.checkResultByFile("mover/" + testName + "_afterDown.json", true); } else { myFixture.configureByFile("mover/" + testName + ".json"); myFixture.performEditorAction(IdeActions.ACTION_MOVE_STATEMENT_UP_ACTION); myFixture.checkResultByFile("mover/" + testName + "_afterUp.json", true); } }