// Create a basic layout object
RuntimeDeviceLayout deviceLayout = createDeviceLayout();
RuntimeTestMarinerPageContext pageContext = new RuntimeTestMarinerPageContext();
RuntimeTestMarinerRequestContext requestContext = new RuntimeTestMarinerRequestContext();
EnvironmentContext environmentContext = new RuntimeTestEnvironmentContext();
((RuntimeTestEnvironmentContext)environmentContext)
.setResponseWriter(writer);
ApplicationContext applicationContext = new ApplicationContext(