Rhino Mocks 2.9.6 Released
Hi, over a month without a release for Rhino Mocks is a Big Thing, I think :-)
Anyway, this is a fix to a problem with the documentation message, which only work on the default expectation (because I was lazy when I wrote this?). The basic issue was that this didn't give the correct message:
//rig up Dispose() method
mockAppLock.Dispose();
LastCall
.On(mockAppLock)
.IgnoreArguments()
.Message("IAppLock should be disposed.");
this.MockFactory.VerifyAll()
Now it will report to you both the fact that you didn't call Dispose, as well as why you should have called dispose, which is a lot more interesting, IMO.
As usual, source and binaries are here.
Comments
Comment preview