code: @Override
  	public HttpSession getSession(final boolean create) {
  		if (create && session == null) {
  			session = new MockHttpSession();
  		}
  
  		return session;
  	}
docs: Returns the current HttpSession, or creates a new one if there is no current session and the <code>create</code>
  flag is set.
  
  @param create if true, creates a new session if one does not exist.
  @return the current HttpSession, may be null if the create flag is false.