void () { myFixture.configureByFile(getTestName(false) + ".java"); new ListTemplatesAction().actionPerformedImpl(myFixture.getProject(), myFixture.getEditor()); assertSameElements(myFixture.getLookupElementStrings(), "duplicateKey", "duplicateKey"); }