void () { LiveTemplateCompletionContributor.setShowTemplatesInTests(true, myFixture.getTestRootDisposable()); checkPreferredItems(0, "return"); assertTrue(ContainerUtil.exists(getLookup().getItems(), it -> it.getLookupString().equals("ritar"))); }