void () { configure(); assertFalse(myFixture.getLookupElementStrings().contains("foo")); myFixture.complete(CompletionType.BASIC, 2); myFixture.assertPreferredCompletionItems(0, "foo"); myFixture.type('\n'); checkResult(); }