The IMock<(Of <(T>)>) type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| As<(Of <(TInterface>)>) |
Adds an interface implementation to the mock,
allowing expectations to be set for it.
| |
| Expect | Overloaded. | |
| ExpectGet<(Of <(TProperty>)>) |
Sets an expectation on the mocked type for a call to
to a property getter.
| |
| ExpectSet | Overloaded. | |
| Verify | Overloaded. | |
| VerifyAll |
Implements VerifyAll()()().
| |
| VerifyGet<(Of <(TProperty>)>) |
Verifies that a property was read on the mock.
Use in conjuntion with the default Loose.
| |
| VerifySet | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| Behavior |
Behavior of the mock, according to the value set in the constructor.
| |
| DefaultValue |
Specifies the behavior to use when returning default values for
unexpected invocations.
| |
| Object |
Exposes the mocked object instance.
|