void () { final MyElement element = createElement("<a></a>"); final MyElement child = element.getChild(); element.getXmlTag().add(createTag("<child/>")); final XmlTag[] subTags = element.getXmlTag().getSubTags(); assertTrue(child.equals(element.getChild())); assertTrue(element.getChild().equals(child)); assertCached(element.getChild(), subTags[0]); putExpected(new DomEvent(element, false)); assertResultsAndClear(); }