Rhino Mocks 2.0.1 - Minor bug fixes

time to read 1 min | 144 words

I updated Rhino Mocks with two minor bug fixes:

  • Now it's possible to mock object.ToString() when mocking a class instance.
    • It's not possible to mock ToString() when mocking an interface.
    • It's not possible to mock GetType(), GetHashCode() & Equals() at all.
  • Trying to setup result for the same method more than once will result in exception.
[Listening to: (01) U2 - Sometimes you can't make it on your own - - (05:09)]