void () { configure(); myFixture.assertPreferredCompletionItems(0, "public void methodWithGenerics", "public void methodWithTypeParam"); assertEquals("(List k) {...}", renderElement(getLookup().getItems().get(0)).getTailText()); assertEquals("(K k) {...}", renderElement(getLookup().getItems().get(1)).getTailText()); }