// has a next process set
XMLProcess testable = createTestableProcess();
prepareProcessForFlowControlTest(testable);
// invoke the method being tested
testable.error(EXCEPTION);
// even in flow control mode errors should be forwarded
XMLProcessTestable next =
(XMLProcessTestable) testable.getNextProcess();
next.assertErrorInvoked(EXCEPTION);