AutoMocker constructor (1 of 4)
April 20, 2021 · View on GitHub
Initializes an instance of AutoMockers.
public AutoMocker()
See Also
- class AutoMocker
- namespace Moq.AutoMock
AutoMocker constructor (2 of 4)
Initializes an instance of AutoMockers.
public AutoMocker(MockBehavior mockBehavior)
| parameter | description |
|---|---|
| mockBehavior | The behavior to use for created mocks. |
See Also
- class AutoMocker
- namespace Moq.AutoMock
AutoMocker constructor (3 of 4)
Initializes an instance of AutoMockers.
public AutoMocker(MockBehavior mockBehavior, DefaultValue defaultValue)
| parameter | description |
|---|---|
| mockBehavior | The behavior to use for created mocks. |
| defaultValue | The default value to use for created mocks. |
See Also
- class AutoMocker
- namespace Moq.AutoMock
AutoMocker constructor (4 of 4)
Initializes an instance of AutoMockers.
public AutoMocker(MockBehavior mockBehavior, DefaultValue defaultValue, bool callBase)
| parameter | description |
|---|---|
| mockBehavior | The behavior to use for created mocks. |
| defaultValue | The default value to use for created mocks. |
| callBase | Whether to call the base virtual implementation for created mocks. |
See Also
- class AutoMocker
- namespace Moq.AutoMock