assertNotNull(
"XMLPipelineContext should have a non null current base URI",
context.getCurrentBaseURI());
// invoke the method that is being tested
process.endDocument();
// ensure that the pipeline context has had both the current locator
// and base uri popped off.
assertNull("endDocument should pop the current locator",
context.getCurrentLocator());