The Mock<(Of <(T>)>) type exposes the following members.

Properties

  NameDescription
Behavior
Behavior of the mock, according to the value set in the constructor.
(Inherited from Mock.)
CallBase
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 Mock.)
DefaultValue
Specifies the behavior to use when returning default values for unexpected invocations on loose mocks.
(Inherited from Mock.)
Object
Exposes the mocked object instance.

See Also