void () { final StaticGenericInfo genericInfo = DomApplicationComponent.getInstance().getStaticGenericInfo(MyElement.class); final List<? extends DomAttributeChildDescription> descriptions = genericInfo.getAttributeChildrenDescriptions(); assertEquals(1, descriptions.size()); final DomAttributeChildDescription description = descriptions.get(0); final MyElement element = createElement(""); assertEquals(element.getAttr(), description.getValues(element).get(0)); assertEquals(element.getAttr(), description.getDomAttributeValue(element)); }