DeviceLayoutContext deviceLayoutContext =
new TestDeviceLayoutContext(pageContext);
deviceLayoutContext.setMarinerPageContext(pageContext);
RuntimeDeviceLayout runtimeDeviceLayout = new RuntimeLayoutAdapter(
"layoutName", new CanvasLayout(), compiledStyleSheet, null);
deviceLayoutContext.setDeviceLayout(runtimeDeviceLayout);
deviceLayoutContext.initialise ();
pageContext.pushDeviceLayoutContext(deviceLayoutContext);
MarinerURL requestURL = new MarinerURL();