// Create the menu item to test.
ConcreteElementDetails elementDetails = new ConcreteElementDetails();
elementDetails.setElementName("the tag name");
elementDetails.setStyles(StylesBuilder.getEmptyStyles());
ConcreteMenuIcon icon = new ConcreteMenuIcon(elementDetails);
ImageAssetReference normalRef =
new TestNormalImageAssetReference("the normal url");
ImageAssetReference overRef =
new TestNormalImageAssetReference("the over url");
icon.setNormalURL(normalRef);
icon.setOverURL(overRef);
ConcreteMenuItem item = new ConcreteMenuItem(
new ElementDetailsStub(), new ConcreteMenuLabel(
new ElementDetailsStub(), createMenuText(), icon));
// Create the renderer we are to test.