void () { myFixture.configureByText("a.java", "class C implements java.util.Li<caret>"); myFixture.completeBasic(); myFixture.assertPreferredCompletionItems(0, "List"); myFixture.type('\n'); myFixture.checkResult("class C implements java.util.List<caret>"); }