void () { myFixture.configureByText(JavaFileType.INSTANCE, "\nclass Foo extends java.util.ArrayList {\n int field;\n int field2;\n Foo() {\n super();\n field2 = f<caret>; \n } \n}"); complete(); myFixture.assertPreferredCompletionItems(0, "field", "float"); }