void () { myFixture.configureByText(JavaFileType.INSTANCE, "\nclass Foo {\n int total;\n\n Foo() {\n this.total = 0;\n this.total += this.to<caret>tal\n }\n}\n"); complete(); myFixture.assertPreferredCompletionItems(0, "total"); }