void () { registerDomExtender(CollectionDomExtender.class); final MyElement myElement = createElement("<a attr=\"xxx\"><xxx>zzz</xxx><xxx attr=\"foo\"/></a>", MyElement.class); assertUnorderedCollection(getCustomChildren(myElement), element -> { assertEquals("foo", ((MyElement) element).getAttr().getValue()); assertNull(element.getAnnotation(Convert.class)); }, element -> { assertNull(((MyElement) element).getAttr().getValue()); assertNull(element.getAnnotation(Convert.class)); }); assertNotNull(myElement.getGenericInfo().getCollectionChildDescription("xxx")); }