MockFactory Methods

Moq 2.6

The MockFactory type exposes the following members.

Methods

  NameDescription
CreateOverloaded.
CreateMock<(Of <(T>)>)
Implements creation of a new mock within the factory.
Verify
Verifies all verifiable expectations on all mocks created by this factory.
VerifyAll
Verifies all verifiable expectations on all mocks created by this factory.
VerifyMocks
Invokes verifyAction for each mock in Mocks, and accumulates the resulting MockVerificationException that might be thrown from the action.

See Also