MockFactory Properties

Moq 2.6

The MockFactory type exposes the following members.

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
Specifies the behavior to use when returning default values for unexpected invocations on loose mocks.
Mocks
Gets the mocks that have been created by this factory and that will get verified together.

See Also