Framework for automatic mock generation. Adds a set of handy methods, simplifying testing. One of the best and most complete solutions, including generics support and much more.
It's a common use-case to verify that the method will be called at some moment in the future in a given timeout.
It's possible to implement this using Perform, but another version of Verify (e.g. Expect?) would be really handy.
So the API design might be as follows:
It's a common use-case to verify that the method will be called at some moment in the future in a given timeout. It's possible to implement this using
Perform
, but another version ofVerify
(e.g.Expect
?) would be really handy. So the API design might be as follows:What do you think? It doesn't look hard to implement, so you can just point the right spot to add this.