* The pane's content doesn't need to be surrounded by anything if there
* are no stylistic attributes on the pane.
*/
public void notestOpenPaneDoNothing() throws Exception {
privateSetUp();
DOMOutputBuffer dom = new DOMOutputBuffer();
Pane pane = new Pane(null);
pane.setName(PANE_NAME);
PaneAttributes attributes = new PaneAttributes();
Element parent = null;
Element element = null;
dom.initialise();
attributes.setPane(pane);
pane.setBackgroundColour(null);
pane.setBorderWidth(null);
pane.setCellPadding(null);
pane.setCellSpacing(null);
pane.setHeight(null);
pane.setWidth(null);
pane.setHorizontalAlignment(null);
pane.setVerticalAlignment(null);
context.setFormatInstance(new TestPaneInstance());
protocol.setMarinerPageContext(context);
// Make the test framework behave as if no style class is required!
// context.setStyleClassName(null);
testable.setPageHead(new PageHead());
parent = dom.openStyledElement("body", attributes);
protocol.openPane(dom, attributes);
try {
element = dom.closeElement("body");
} catch (IllegalStateException e) {
fail("Expected body element not found");
}
assertSame("The parent was not as expected",