IMock Members

Moq 2.6

The IMock type exposes the following members.

Methods

  NameDescription
CreateEventHandlerOverloaded.
Verify
Verifies that all verifiable expectations have been met.
VerifyAll
Verifies all expectations regardless of whether they have been flagged as verifiable.

Properties

  NameDescription
CallBase
Whether the base member virtual implementation will be called for mocked classes if no expectation is met. Defaults to trueTruetruetrue (True in Visual Basic).
DefaultValue
Determines how to generate default values for loose mocks on unexpected invocations.
Object
The mocked object instance.

See Also