When the method which matches this expectation is called execute the
given delegate. The delegate's signature must match the signature
of the called method. If it does not, an exception will be thrown.
The called method will return whatever the given delegate returns.
When the method which matches this expectation is called execute the given delegate. The delegate's signature must match the signature of the called method. If it does not, an exception will be thrown. The called method will return whatever the given delegate returns.