void (final DomElement element, final XmlElement xmlElement) { assertNotNull(xmlElement); assertSame(element.getXmlTag(), xmlElement); DomInvocationHandler currentDom = getDomManager().getDomHandler(xmlElement); assertNotNull(currentDom); assertEquals(element, currentDom.getProxy()); assertTrue(element.isValid()); }