void () { myFixture.configureByText("a.java", "class Foo<T> { F<caret>List<String> }"); myFixture.completeBasic(); myFixture.type(getLookup().COMPLETE_STATEMENT_SELECT_CHAR); myFixture.checkResult("class Foo<T> { Foo<List<String>><caret> }"); }