// javadoc inherited.
public void testCreateEnclosingElement() throws Exception {
// NOTE: This protocol doesn't support style classes and we should never
// have a class attribute in real life situations. However, this is
// explicitly set in the super class' method during this test.
PaneAttributes attributes = new PaneAttributes();
attributes.setStyles(StylesBuilder.getStyles("background-color: green"));
// Set a valid style class on the pane attributes.
// Also set a style class on the element itself.
doTestCreateEnclosingElement(attributes,
"<td>" +