document = domFactory.createDocument();
testable.setCurrentBuffer(null, buffer);
pageContext = new TestMarinerPageContext();
pageContext.setFormFragmentResetState(true);
pageContext.setProtocol(protocol);
TestMarinerRequestContext requestContext = new TestMarinerRequestContext();
pageContext.pushRequestContext( requestContext );
ContextInternals.setMarinerPageContext(requestContext, pageContext);
protocol.setMarinerPageContext(pageContext);
// Add in a default protocols configuration so that post field