void () { myFixture.configureByText("Test.java", "class Test {Class<? extends CharSequence> get() {return StringBu<caret>.class}}"); myFixture.completeBasic(); myFixture.type('\n'); myFixture.checkResult("class Test {Class<? extends CharSequence> get() {return StringBuffer.class}}"); }