void () { myFixture.configureByText("a.java", "\nclass FooFoo {\n FooFoo f<caret>\n}\n"); myFixture.completeBasic(); myFixture.assertPreferredCompletionItems(0, "fooFoo", "foo"); myFixture.type("="); myFixture.checkResult("\nclass FooFoo {\n FooFoo fooFoo = <caret>\n}\n"); }