void () { myFixture.configureByText("foo.xml", "<<caret>"); myFixture.completeBasic(); myFixture.type('?'); myFixture.type('\n'); myFixture.checkResult("<?xml version=\"1.0\" encoding=\"<caret>\" ?>"); }