void () { myFixture.addClass("package foo; public class Assert { public static boolean foo() {} }"); myFixture.addClass("package bar; public class Assert { public static boolean bar() {} }"); configure(); assertEquals(List.of("Assert.bar", "Assert.foo"), myFixture.getLookupElementStrings()); myFixture.type('\n'); checkResult(); }