void () { final MyElement element = createElement("<a xmlns=\"foo\"><ns-child attr=\"239\"/></a>" , MyElement.class); getDomManager().getDomFileDescription(element.getXmlElement()).registerNamespacePolicy("foo", "foo"); final GenericAttributeValue<String> attr = element.getNsChild().getAttr(); attr.getXmlTag().setAttribute("attr", "42"); putExpected(new DomEvent(element.getNsChild(), false)); assertResultsAndClear(); }