MockResolver constructor

April 20, 2021 · View on GitHub

Initializes an instance of MockResolver.

public MockResolver(MockBehavior mockBehavior, DefaultValue defaultValue, bool callBase)
parameterdescription
mockBehaviorBehavior of created mock.
defaultValueSpecifies the behavior to use when returning default values for unexpected invocations on loose mocks created by this instance.
callBaseWhether the base member virtual implementation will be called for created mocks if no setup is matched.

See Also