void () { final MyElement element = createElement("<a>" + "<child-element>foo</child-element>" + "<child-element>bar</child-element>" + "</a>"); assertSubBars(element.getMyChildren()); assertSubBars(element.getChildElements()); assertSubBars(element.getMyChildren2()); }