Rhino Mocks 2.9.6 Released

time to read 1 min | 148 words

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:

IAppLock mockAppLock = this.MockFactory.CreateMock<IAppLock>();
//rig up Dispose() method
   .Message("IAppLock should be disposed.");

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.