void () { init("text <selection><caret>text</selection> <selection><caret>text</selection>"); executeAction(); executeReverseAction(); executeAction(); checkResult("text <selection><caret>text</selection> <selection><caret>text</selection>"); }