context.setDeviceLayout(createDeviceLayout(false));
protocol.setMarinerPageContext(context);
BodyAttributes body = new BodyAttributes();
DOMOutputBuffer scratch = new DOMOutputBuffer();
scratch.initialise();
CanvasAttributes attrib = new CanvasAttributes();
protocol.openCanvas(scratch,attrib);
protocol.openBody(buffer, body);
protocol.closeBody(buffer, body);
String compare = "<body><par/></body>";
assertTrue("Markup is incorrect: "+getMarkup(buffer),