*/
private MarinerPageContext getPageContext() throws Exception {
Volantis volantis = new TestableVolantis();
ServletContextStub servletContext = new ServletContextStub();
AppManager appManager = new AppManager(volantis, servletContext);
appManager.useAppWith(new AppExecutor() {
public void execute(AppContext context) throws Exception {
String err = context.getConsoleOutput().getErr();
// Note: this is deliberately as specific as possible to
// ensure that ANY changes in the way that volantis
// initialisation affects System.err are at least found here;