Verify mocked type
Namespace:
TypeMock
Assembly:
TypeMock (in TypeMock.dll) Version: 9.3.5.0 (9.3.5.0)
Part of Test Driven Development and Mock Methodology is being sure that ALL our
expected calls where actually called. This should always be the final part of the test
If some methods that we expected to be called where not called this will fail the test.
This is automatically called when using
MockManager.Verify() see
Verify
For an example see
Strict Note |
---|
Using Strict we can also define, that calls to methods that where
not expected, will fail the test too.
|
Reference