MenuModelBuilder menuModelBuilder = pageContext.getMenuBuilder();
//builder#startMenuGroup will fail unless this has been called
menuModelBuilder.startMenu();
// set up protocol attributes
MenuItemGroupAttributes menuItemGroupAttrs =
new MenuItemGroupAttributes();
menuItemGroupAttrs.setPane(pane);
menuItemGroupAttrs.setStyleClass("styleClass");
menuItemGroupAttrs.setId("id");
int result = element.elementStart(requestContext, menuItemGroupAttrs);
assertTrue("Unexpected value returned from MenuElement. Should have" +
"been PROCESS_ELEMENT_BODY.",