Package org.joinfaces.test.mock
Class FacesContextMocker
- java.lang.Object
- 
- javax.faces.context.FacesContext
- 
- org.joinfaces.test.mock.FacesContextMocker
 
 
- 
 public abstract class FacesContextMocker extends FacesContext Faces Context Mocker. Taken from https://ovaraksin.blogspot.com.br/2014/03/set-up-jsf-environment-for-junit-tests.html
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static FacesContextmockFacesContext()- 
Methods inherited from class javax.faces.context.FacesContextaddMessage, 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
 
- 
 
- 
- 
- 
Method Detail- 
mockFacesContextpublic static FacesContext mockFacesContext() 
 
- 
 
-