PortletStateHolder portletStateHolder = PortletStateHolder.init(new MockPortletContext(servletContext));
PortletWindowState portletState = new PortletWindowState(){
@Override
public BridgeConfig getBridgeConfig() {
return new BridgeConfig(){
public Map<String, String> getDefaultViewIdMap() {
HashMap<String, String> viewIdMap = new HashMap<String,String>();
viewIdMap.put("view", "/foo.xhtml");
return viewIdMap;