void () { myFixture.configureByText("Foo.java", "class Foo { String s = \"a\\<caret>nb\"; }"); myFixture.performEditorAction(IdeActions.ACTION_EDITOR_NEXT_WORD); myFixture.checkResult("class Foo { String s = \"a\\n<caret>b\"; }"); }