void () { configureByFile(getBeforeFileName()); EditorTestUtil.setEditorVisibleSize(getEditor(), 120, 20); // some actions require visible area to be defined, like EditorPageUp executeAction(getActionName()); checkResultByFile(getAfterFileName()); }