void () { configureByTestName(); myFixture.assertPreferredCompletionItems(0, "smth = true", "value = false"); var smthDefault = ContainerUtil.find(myItems, it -> it.getLookupString().equals("smth = false")); var presentation = renderElement(smthDefault); assertEquals(" (default)", presentation.getTailText()); assertTrue(presentation.getTailFragments().get(0).isGrayed()); myFixture.type('\n'); checkResult(); }