MockRepository Properties

Moq

Collapse imageExpand ImageCopy imageCopyHover image

The MockRepository 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).
(Inherited from MockFactory.)
Public propertyDefaultValue
Specifies the behavior to use when returning default values for unexpected invocations on loose mocks.
(Inherited from MockFactory.)
Protected propertyMocks
Gets the mocks that have been created by this factory and that will get verified together.
(Inherited from MockFactory.)

See Also