void () { FileType regExpFileType = FileTypeManagerEx.getInstanceEx().findFileTypeByName("RegExp"); assertNotNull(regExpFileType); myFixture.configureByText(regExpFileType, "<caret>abc"); myFixture.performEditorAction(IdeActions.ACTION_EDITOR_NEXT_WORD); myFixture.checkResult("abc<caret>"); }