I have a function I am stubbing that gets called with multiple arguments. I want to check just the first argument. The rest are callback function, so I want to
If you just want to check the first argument you can use
method.get.withArgs(25).calledOnce
or
method.get.calledWith(25)