MenuRendererSelectorLocatorMock rendererLocator =
new MenuRendererSelectorLocatorMock(
"rendererLocator", expectations);
MenuRendererSelectorMock rendererSelector =
new MenuRendererSelectorMock("rendererLocator", expectations);
MenuRendererMock renderer =
new MenuRendererMock("renderer", expectations);
// Set expectations.
requestContext.expects.getMarinerPageContext().returns(pageContext);
pageContext.expects.popElement(menuElement);
pageContext.expects.getMenuBuilder().returns(builder);