The Mock<(Of <(T>)>) 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.
| |
| GetObject |
Returns the mocked object value.
(Inherited from Mock.) | |
| Raise | Overloaded. | |
| Setup | Overloaded. | |
| SetupAllProperties |
Specifies that the all properties on the mock should have "property behavior",
meaning that setting its value will cause it to be saved and
later returned when the property is requested. (this is also
known as "stubbing"). The default value for each property will be the
one generated as specified by the DefaultValue property for the mock.
| |
| SetupGet<(Of <(TProperty>)>) |
Specifies a setup on the mocked type for a call to
to a property getter.
| |
| SetupProperty | Overloaded. | |
| SetupSet | Overloaded. | |
| Verify | Overloaded. | |
| VerifyAll |
Verifies all expectations regardless of whether they have
been flagged as verifiable.
(Inherited from Mock.) | |
| VerifyGet | Overloaded. | |
| VerifySet | Overloaded. |