@@ -69,6 +69,8 @@ Creates a new gently instance. It listens to the process `'exit'` event to make
Creates an expectation for an objects method to be called. You can optionally specify the call `count` you are expecting, as well as `mock` function that will run instead of the original function.
+Returns a reference to the function that is getting overwritten.
Returns a function that is supposed to be executed `count` times, delegating any calls to the provided `mock` function. Naming your mock closure will help to properly diagnose errors that are being thrown: