void () { init(""" some text some texts another <selection>t<caret>ext</selection> here"""); executeAction(); checkResult(""" some text some texts another <selection>t<caret>ext</selection> here"""); assertEquals(1, hintCount); executeAction(); checkResult(""" some <selection>t<caret>ext</selection> some texts another <selection>t<caret>ext</selection> here"""); assertEquals(1, hintCount); }