* Test method for
* {@link org.jboss.portletbridge.context.FacesContextFactoryImpl#getFacesContext(java.lang.Object, java.lang.Object, java.lang.Object, javax.faces.lifecycle.Lifecycle)}.
*/
public void testGetFacesContextPortlet() {
FacesContextFactoryImpl factory = new FacesContextFactoryImpl(facesContextFactory);
MockPortletContext portletContext = new MockPortletContext(servletContext);
MockActionRequest portletRequest = new MockActionRequest(portletContext);
MockActionResponse portletResponse = new MockActionResponse();
PortletStateHolder portletStateHolder = PortletStateHolder.init(new MockPortletContext(servletContext));
PortletWindowState portletState = new PortletWindowState(){
@Override
public BridgeConfig getBridgeConfig() {
return new BridgeConfig(){