The Mock type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| As<(Of <(TInterface>)>) |
Adds an interface implementation to the mock,
allowing setups to be specified for it.
| |
| Get<(Of <(T>)>) |
Retrieves the mock object for the given object instance.
| |
| OnGetObject |
Returns the mocked object value.
| |
| Verify |
Verifies that all verifiable expectations have been met.
| |
| VerifyAll |
Verifies all expectations regardless of whether they have
been flagged as verifiable.
|