The Mock type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| CallBase | ||
| CallStatic |
Allow mocking a static method when that method is overloaded with an instance method
Remarks | |
| MockedInstance |
Get the actual instance that is being mocked and controlled. This
enables tracking instance mocks to the actual instance
| |
| MockedType |
Get the type that is mocked and controlled.
| |
| Strict |
Can set the mock to be Strict
The default is the Methods of Abstract and Interfaces are Strict and Arbitrary calls fail
while Arbitrary Methods of concrete classes are allowed.
| |
| StrictStatic |
Can set the static methods of a mocked type to be Strict
| |
| ValidateArgsOnVerify | Obsolete.
Obslolete. Argument validation is done both on calling the method and during Verify.
|
See Also