ExpandedName eName = new ImmutableExpandedName("testNamespace",
"testLocalName");
try {
// call end element on the rule
rule.endElement(dynamicProcess, eName, new MockAdapterProcess());
fail("endElement did not throw an exception when attempting to " +
"remove a process that was not at the head of the pipeline");
} catch (XMLPipelineException e) {
}
}