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