Make callbacks more flexible about the required parameters
Sometimes you don't need all the parameters of the mocked method in the callback. Sometimes you don't need any of them.
Is it possible to allow partial matches, I'm thinking if there are 4 parameters on the method, and only 3 on the callback, if the first 3 match then allow that callback.
As the callback verification seems to be done at run time I think this should be possible.
what should be the batching behavior? Argument type obviously, but what about ordering? What if the method has 2 string parameters mixed with other types?
I think as a first step, just matching the parameters by position would be enough, anything more complicated may be confusing.