// has a next process set
XMLProcess testable = createTestableProcess();
prepareProcessForFlowControlTest(testable);
// invoke the method being tested
testable.endElement(NAMESPACE_URI, LOCAL_NAME, Q_NAME);
// endElement event should be forwarded
XMLProcessTestable next =
(XMLProcessTestable) testable.getNextProcess();
next.assertEndElementInvoked(NAMESPACE_URI, LOCAL_NAME, Q_NAME);