Package org.joinfaces.test.mock
Class FacesContextMocker
- java.lang.Object
-
- javax.faces.context.FacesContext
-
- org.joinfaces.test.mock.FacesContextMocker
-
public abstract class FacesContextMocker extends javax.faces.context.FacesContextFaces Context Mocker. Taken from http://ovaraksin.blogspot.com.br/2014/03/set-up-jsf-environment-for-junit-tests.html
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.faces.context.FacesContextmockFacesContext()-
Methods inherited from class javax.faces.context.FacesContext
addMessage, getApplication, getAttributes, getClientIdsWithMessages, getCurrentInstance, getCurrentPhaseId, getELContext, getExceptionHandler, getExternalContext, getMaximumSeverity, getMessageList, getMessageList, getMessages, getMessages, getNamingContainerSeparatorChar, getPartialViewContext, getRenderKit, getRenderResponse, getResourceLibraryContracts, getResponseComplete, getResponseStream, getResponseWriter, getViewRoot, isPostback, isProcessingEvents, isProjectStage, isReleased, isValidationFailed, release, renderResponse, responseComplete, setCurrentInstance, setCurrentPhaseId, setExceptionHandler, setProcessingEvents, setResourceLibraryContracts, setResponseStream, setResponseWriter, setViewRoot, validationFailed
-
-