Moq v4.1 Release Notes

    • โž• Added covariant IMock<out T> interface to Mock<T>
    • โž• Added It.IsNotNull<T>
    • ๐Ÿ›  Fix: 'NullReferenceException when subscribing to an event'
    • โž• Added overloads to Verify to accept Times as a Method Group
    • ๐Ÿ”‹ Feature request: It.IsIn(..), It.IsNotIn(...)
    • Corrected Verify method behavior for generic methods calls
    • ๐Ÿคก Differentiate verification error from mock crash
    • ๐Ÿ›  Fix: Adding (and removing) handlers for events declared on interfaces works when CallBase = true.
    • โšก๏ธ Update to latest Castle
    • ๐Ÿ›  Fix: Mock.Of (Functional Syntax) doesn't work on properties with non-public setters
    • ๐Ÿ›  Fix: Allow to use CallBase instead of Returns
    • ๐Ÿ›  Fix: Solved Multi-threading issue - IndexOutOfRangeException
    • ๐Ÿคก Capability of mocking delegates (event handlers)