Mock the session