void () { myFixture.addClass("public class FooZoo { public static void fooBar() {} }"); myFixture.addClass("public class fooAClass {}"); configureNoCompletion(getTestName(false) + ".java"); myFixture.complete(CompletionType.BASIC, 2); assertPreferredItems(0, "fooy", "foox", "fooAClass", "fooBar"); }