void () { MyElement element = createElement("<a>" + "<child>foo</child>" + "<child>bar</child>" + "</a>"); assertCached(element.getChild2(), element.getXmlTag().getSubTags()[1]); assertEquals(0, element.getChildElements().size()); }