Get the raw calls array for this spy.
Get all of the arguments for each invocation of this spy in the order they were received.
Check whether this spy has been invoked.
Get the arguments that were passed to a specific invocation of this spy.
| ||Integer|| |
The 0-based invocation index.
Get the number of invocations of this spy.
Get the first invocation of this spy.
Get the most recent invocation of this spy.
Reset this spy as if it has never been called.
Set this spy to do a shallow clone of arguments passed to each invocation.
© 2008–2017 Pivotal Labs
Licensed under the MIT License.