MockFactory Properties

Moq

Collapse imageExpand ImageCopy imageCopyHover image

The MockFactory type exposes the following members.

Properties

  NameDescription
Public propertyCallBase
Whether the base member virtual implementation will be called for mocked classes if no setup is matched. Defaults to falseFalsefalsefalse (False in Visual Basic).
Public propertyDefaultValue
Specifies the behavior to use when returning default values for unexpected invocations on loose mocks.
Protected propertyMocks
Gets the mocks that have been created by this factory and that will get verified together.

See Also