new TestMarinerRequestContext();
ContextInternals.setMarinerPageContext(requestContext, context);
context.pushRequestContext(requestContext);
// Activate the device layout.
RuntimeDeviceLayout runtimeDeviceLayout1 =
RuntimeDeviceLayoutTestHelper.activate(CANVAS_LAYOUT);
RuntimeDeviceLayout runtimeDeviceLayout =
runtimeDeviceLayout1;
DeviceLayoutContext deviceContext = new TestDeviceLayoutContext();
deviceContext.setDeviceLayout(runtimeDeviceLayout);