Showing posts with label mock objects. Show all posts
Showing posts with label mock objects. Show all posts

Friday, October 26, 2007

Rhino Mocks 3.3 Released

Rhino Mocks 3.3 has been released.

Bug Fixes:
Fixing inconsistency in how Is.Equals handled ICollection instances, now it will compare them by their values, not their Equals()
Fixing NASTY bug where setup result that were defined in a using(mocks.Ordered()) block were not registered properly.

Improvements:
Changing error message to "are you calling a virtual (C#) / Overridable (VB) method?" - make it friendlier to VB guys.
Exception for Record will not trigger a ReplayAll(), which can mask the exception.
Adding a check for running on Mono to avoid calling Marshal.GetExceptionCode in that case.

New features:
Adding support for calling void methods using Expect.Call
Adding remoting proxies.
Made IMethodOptions generic. Allows compile time type safety on Return.
Adding a PublicFieldConstraint

Download it here: http://www.ayende.com/projects/rhino-mocks/downloads.aspx