Summary
Create a container that automatically fakes unknown types
- Assembly
- Rocket
.Surgery .Extensions .Testing .Moq .dll - Namespace
- Rocket
.Surgery .Extensions .Testing - Containing Type
- AutoMock
Syntax
public AutoMock(MockBehavior behavior, IContainer container = null, Func<IContainer, IContainer> configureAction = null)
Attributes
Type | Description |
---|---|
Nullable |
Parameters
Name | Type | Description |
---|---|---|
behavior | MockBehavior | |
container | IContainer | |
configureAction | Func |
Return Value
Type | Description |
---|---|
void |