void (String actual) { myFixture.configureByText("a.sh", actual); final Editor editor = myFixture.getEditor(); final Project project = editor.getProject(); assertNotNull(project); new ListTemplatesAction().actionPerformedImpl(project, editor); final LookupImpl lookup = (LookupImpl) LookupManager.getActiveLookup(editor); assertNull(lookup); }