void () { checkPreferredItems(0, "ConflictsUtil", "ContainerUtil"); myFixture.getLookup().setCurrentItem(myFixture.getLookupElements()[1]); myFixture.type("\n.foo();\nlong l = ConUt"); myFixture.completeBasic(); assertPreferredItems(0, "ContainerUtil", "ConflictsUtil"); }