void () { myFixture.configureByFile(BASE_PATH + "tag/Xml.xml"); AnAction firstAction = SurroundWithTemplateHandler.createActionGroup(myFixture.getEditor(), myFixture.getFile(), new HashSet<>()).get(0); assertInstanceOf(firstAction, InvokeTemplateAction.class); TemplateImpl template = ((InvokeTemplateAction)firstAction).getTemplate(); assertEquals("T", template.getKey()); }