attributes.setIsNextLinkFirst(true);
attributes.setStyles(StylesBuilder.getCompleteStyles(
"mcs-menu-orientation: horizontal"));
// Build the Menu from the DissectingPaneAttributes.
OutputBufferFactory outputBufferFactory =
new TestDOMOutputBufferFactory();
ShardLinkMenuModelBuilder builder = new ShardLinkMenuModelBuilder(
outputBufferFactory);
ShardLinkMenu menu = builder.buildShardLinkMenuModel(attributes);