Mock Members

Moq 2.6

The Mock type exposes the following members.

Constructors

  NameDescription
Mock
Initializes the mock

Methods

  NameDescription
CreateEventHandlerOverloaded.
Get<(Of <(T>)>)
Retrieves the mock object for the given object instance.
GetObject
Returns the mocked object value.
Verify
Implements Verify()()().
VerifyAll
Implements VerifyAll()()().

Properties

  NameDescription
Behavior
Implements Behavior.
CallBase
Implements CallBase.
DefaultValue
Implements DefaultValue.
ImplementedInterfaces
Exposes the list of extra interfaces implemented by the mock.
Object
The mocked object instance. Implements Object.

See Also