void () { registerDomExtender(AttrDomExtender3.class); final MyElement element = createElement("<a attr=\"xxx\"/>", MyElement.class); final DomAttributeChildDescription description = element.getGenericInfo().getAttributeChildDescription("xxx"); assertNotNull(description); assertSame(Boolean.TRUE, description.getUserData(BOOL_KEY)); }