NSubstitute v0.1.3 Release Notes
-
- 👍 [NEW] Support auto/recursive substituting for members that return interfaces or delegates.
- 👍 [NEW] Support auto substituting for members that return arrays and strings (return empty values rather than null).
- 0️⃣ [NEW] Raise.Event() will now attempt to construct arguments with default ctors, so in most cases they will not need to be explictly provided.
- ⚡️ [UPDATE] Added support for raising events with custom delegate types.
- ⚡️ [UPDATE] Formatting for event subscription and unsubscription calls in call received/not received exceptions.
- 🚀 [UPDATE] Updated to pre-release build of Castle.Core 2.5 to get dynamic proxy to support modopts.
- 👻 [FIX] Throw correct exception when raising an event and event handler throws. (Fix by Rodrigo Perera)
- 👻 [FIX] Record call as received when it throws an exception from the When..Do callback.