Class JsfMock


  • public class JsfMock
    extends java.lang.Object
    JSF Mock. Taken from http://ovaraksin.blogspot.com.br/2014/03/set-up-jsf-environment-for-junit-tests.html
    • Constructor Detail

      • JsfMock

        public JsfMock()
    • Method Detail

      • release

        public void release()
      • getMockFacesContext

        public FacesContext getMockFacesContext()
      • getMockViewRoot

        public UIViewRoot getMockViewRoot()
      • getMockApplication

        public Application getMockApplication()
      • getMockHttpSession

        public HttpSession getMockHttpSession()
      • getMockViewMap

        public java.util.Map<java.lang.String,​java.lang.Object> getMockViewMap()
      • getMockTagConfig

        public TagConfig getMockTagConfig()
      • getMockTag

        public Tag getMockTag()