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 expectation is met. Defaults to trueTruetruetrue (True 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.)
ImplementedInterfaces
Exposes the list of extra interfaces implemented by the mock.
(Inherited from Mock.)
Object
Exposes the mocked object instance.

See Also