void () { myFixture.configureByText("a.java", "\nclass FooFoo {\n { long <caret>x = System.nanoTime(); }\n}\n"); myFixture.completeBasic(); myFixture.assertPreferredCompletionItems(0, "l", "nanoTime", "time"); }