void () { initText("<selection>one<caret></selection> two \n" + "three four "); executeAction("EditorCopy"); executeAction("EditorCloneCaretBelow"); executeAction("EditorLineEnd"); executeAction("EditorPaste"); checkResultByText("one twoone<caret> \n" + "three fourone<caret> "); }