MockResolver constructor
April 20, 2021 · View on GitHub
Initializes an instance of MockResolver.
public MockResolver(MockBehavior mockBehavior, DefaultValue defaultValue, bool callBase)
| parameter | description |
|---|---|
| mockBehavior | Behavior of created mock. |
| defaultValue | Specifies the behavior to use when returning default values for unexpected invocations on loose mocks created by this instance. |
| callBase | Whether the base member virtual implementation will be called for created mocks if no setup is matched. |
See Also
- class MockResolver
- namespace Moq.AutoMock.Resolvers