resDoesAlwaysReturn(funcName, dataToReturn)
This is a variant of 'doesReturn'. Defines what to return during a success scenario from a synchronous mocked function on the HTTP Response Object. The dataToReturn will be returned on every execution of the mock. That means you only need to define one return value for all calls to the mock.
- mockName {String} - This is the key for the mock. It should match the key from 'mockThisFunction'.
- funcName {String} - The name of the function to be mocked. Should match the name from 'mockThisFunction'.
- dataToReturn {Any} - The data that will be returned when this mocked function is executed.
- returns {Scenario}