_servletContext = setUpServletContext();
StartupServletContextListener.initFaces(_servletContext);
_httpServletRequest = new ServletRequestMockImpl(getCookies());
_httpServletResponse = new ServletResponseMockImpl();
_facesContext = new ServletFacesContextImpl(_servletContext,
_httpServletRequest,
_httpServletResponse);
_application = _facesContext.getApplication();