void () { prepareFile("XIncludeWithActions.xml"); DomFileElement<IdeaPlugin> element = prepare("XIncludeWithActions-main.xml", IdeaPlugin.class); XmlTag[] tags = element.getRootTag().getSubTags(); assertEquals(2, tags.length); XmlTag included = tags[0]; assertTrue(included instanceof IncludedXmlTag); assertEquals("actions", included.getName()); List<? extends Actions> actions = element.getRootElement().getActions(); assertEquals(2, actions.size()); assertNotNull(actions.get(1).getXmlTag()); Action action = actions.get(1).getGroups().get(0).getActions().get(0); DomInvocationHandler handler = DomManagerImpl.getDomInvocationHandler(action.getId()); assertNotNull(handler.getStub()); assertNotNull(DomTarget.getTarget(action)); }