Because if you use a standard hash to mock the auth response the method will fail when it tries to access the properties with . notation. Either that or just use square brackets when accessing properties from `auth_params`