Moq v1.3 Release Notes
-
- Added support for overriding expectations set previously on a Mock. Now adding a second expectation for the same method/property call will override the existing one. This facilitates setting up default expectations in a fixture setup and overriding when necessary in a specific test.
- Added support for mock verification. Both
Verify
andVerifyAll
are provided for more flexibility (the former only verifies methods markedVerifiable
)