new DefaultStylePropertyResolver(null, null));
// Create the Renderers which will render the shard link Menu
SeparatorRenderer orientationSeparator
= menuSeparatorRendererSelector.selectMenuSeparator(menu);
TestMenuBufferLocator locator
= new TestMenuBufferLocator(orientationSeparator);
MenuItemRendererSelector menuItemRendererSelector =
new DefaultMenuItemRendererSelector(menuItemRendererFactory,
menuSeparatorRendererSelector);
// @todo delete ShardLinkMenuRenderer and TestMenuRenderer
// and replace with ShardLinkMenuBracketingRenderer and
// DefaultMenuRenderer.
ShardLinkMenuRenderer menuRenderer =
new ShardLinkMenuRenderer(locator,
new TestMenuRenderer(menuItemRendererSelector,
menuSeparatorRendererSelector, locator));
// Render the menu.
menuRenderer.render(menu);
String actual = locator.getOutput();
//System.out.println(actual);
// Create the expected results from the test data.
String expected =
"<SHARD-LINK-GROUP " +