Closed crookse closed 3 years ago
Fixes #28 and #21.
Description
mock.methods.{someMethod}.wasLastCalledWith([arg1, arg2, etc.])
mock.methods.{someMethod}.wasCalledTimes(numberOfTimes)
mock.methods.{someMethod}.lastReturned(returnValue)
mock.calls.{someMethod}
See the test file for examples of how they work.
this PR ready for review?
yesSirz
Fixes #28 and #21.
Description
mock.methods.{someMethod}.wasLastCalledWith([arg1, arg2, etc.])
mock.methods.{someMethod}.wasCalledTimes(numberOfTimes)
mock.methods.{someMethod}.lastReturned(returnValue)
mock.calls.{someMethod}
See the test file for examples of how they work.