void () { myFixture.configureByText("Test.java", "class Test {Class<? extends CharSequence> get() {return String<caret>}}"); myFixture.completeBasic(); myFixture.assertPreferredCompletionItems(0, "String", "String.class", "StringBuffer.class", "StringBuffer", "StringBuilder.class", "StringBuilder", "StringIndexOutOfBoundsException"); }