







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.
|
![]() ![]() | Of<(Of <<'(T>)>>)()()()() |
Creates an mock object of the indicated type.
|
![]() ![]() | Of<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <(<'T, TResult>)>)>>)>>)) | |
![]() | OnGetObject |
Returns the mocked object value.
|
![]() | SetReturnsDefault<(Of <<'(TReturn>)>>) | |
![]() | Verify |
Verifies that all verifiable expectations have been met.
|
![]() | VerifyAll |
Verifies all expectations regardless of whether they have
been flagged as verifiable.
|