Mock the returnUrl.