protected void assertEndElement(String expectedUri, String expectedLocalName, String expectedQName, TestEvent actual) {
printIfFatal(actual);
if (!(actual instanceof EndElementEvent))
fail("Event must be EndElementEvent");
EndElementEvent endElementEvent = (EndElementEvent) actual;
assertEquals("URI", expectedUri, endElementEvent.getURI());
assertEquals("local name", expectedLocalName, endElementEvent.getLocalName());
assertEquals("qName", expectedQName, endElementEvent.getQName());
}