The IMock type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CreateEventHandler | Overloaded. | |
| Verify |
Verifies that all verifiable expectations have been met.
| |
| VerifyAll |
Verifies all expectations regardless of whether they have
been flagged as verifiable.
|
Properties
| Name | Description | |
|---|---|---|
| CallBase |
Whether the base member virtual implementation will be called
for mocked classes if no expectation is met. Defaults to trueTruetruetrue (True in Visual Basic).
| |
| DefaultValue |
Determines how to generate default values for loose mocks on
unexpected invocations.
| |
| Object |
The mocked object instance.
|