ConcreteMenuItem item = new ConcreteMenuItem(
new ElementDetailsStub(), new ConcreteMenuLabel(
new ElementDetailsStub(), createMenuText(), icon));
// Create the renderer we are to test.
MenuItemComponentRenderer renderer = createImageMenuItemRenderer(
new TestDeprecatedImageOutput(), false);
// Do a render.
String actual = getRenderOutputAsString(renderer, item);
//System.out.println(actual);