JSF Test Framework: Mock 1.1.2

org.jboss.test.faces.mock.context
Class MockFacesContextFactory

java.lang.Object
  extended by javax.faces.context.FacesContextFactory
      extended by org.jboss.test.faces.mock.context.MockFacesContextFactory
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.context.FacesContextFactory>, FacesMockController.MockObject

public class MockFacesContextFactory
extends javax.faces.context.FacesContextFactory
implements FacesMockController.MockObject


Constructor Summary
MockFacesContextFactory()
          Default constructor
MockFacesContextFactory(org.easymock.IMocksControl control, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 org.easymock.IMocksControl getControl()
           
 javax.faces.context.FacesContext getFacesContext(Object arg0, Object arg1, Object arg2, javax.faces.lifecycle.Lifecycle arg3)
           
 javax.faces.context.FacesContextFactory getWrapped()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockFacesContextFactory

public MockFacesContextFactory()
Default constructor


MockFacesContextFactory

public MockFacesContextFactory(org.easymock.IMocksControl control,
                               String name)
Parameters:
control -
Method Detail

getControl

public org.easymock.IMocksControl getControl()
Specified by:
getControl in interface FacesMockController.MockObject

getFacesContext

public javax.faces.context.FacesContext getFacesContext(Object arg0,
                                                        Object arg1,
                                                        Object arg2,
                                                        javax.faces.lifecycle.Lifecycle arg3)
Specified by:
getFacesContext in class javax.faces.context.FacesContextFactory

getWrapped

public javax.faces.context.FacesContextFactory getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.FacesContextFactory>
Overrides:
getWrapped in class javax.faces.context.FacesContextFactory

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

JSF Test Framework: Mock 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.