void () { final MyElement element = createElement(""); final GenericAttributeValue<String> attr = element.getChild().getChild().getAttr(); assertNotNull(attr); assertEquals(element.getChildChildAttr(), attr); final GenericAttributeValue<String> attr1 = element.getChild().addChildElement().getAttr(); final GenericAttributeValue<String> attr2 = element.getChild().addChildElement().getAttr(); assertOrderedEquals(element.getChildChildrenAttr(), attr1, attr2); }