void () { final MyElement element = createElement("<a><child/></a>"); element.getXmlTag().add(createTag("<another-child/>")); assertEquals(1, element.getAnotherChildren().size()); putExpected(new DomEvent(element, false)); assertResultsAndClear(); }