void () { initText(""" blah blah blah <selection>bl<caret>ah</selection> blah blah"""); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_UP_WITH_SELECTION); checkResultByText(""" blah bl<selection><caret>ah blah blah</selection> blah blah"""); }