void () { final String testName = getTestName(true); myFixture.configureByFile("mover/" + testName + ".py"); myFixture.performEditorAction(IdeActions.ACTION_MOVE_STATEMENT_UP_ACTION); myFixture.checkResultByFile("mover/" + testName + "_afterUp.py", true); FileDocumentManager.getInstance().reloadFromDisk(myFixture.getDocument(myFixture.getFile())); myFixture.configureByFile("mover/" + getTestName(true) + ".py"); myFixture.performEditorAction(IdeActions.ACTION_MOVE_STATEMENT_DOWN_ACTION); myFixture.checkResultByFile("mover/" + testName + "_afterDown.py", true); }