*/
public String run() throws Exception
{
HttpServletRequest request = new MockHttpServletRequest( session, getPrincipalName(), getPrincipalRoles(), getCookies().toArray( new Cookie[]{} ) );
externalContext = new MockExternalContext(servletContext, request);
application = new SeamApplication11(SeamTest.this.application);
facesContext = new MockFacesContext( externalContext, application );
facesContext.setCurrent();
beforeRequest();