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(MockRepository repository, IContainer container = null, Func<IContainer, IContainer> configureAction = null)
Parameters
Name | Type | Description |
---|---|---|
repository | MockRepository | |
container | IContainer | |
configureAction | Func |
Return Value
Type | Description |
---|---|
void |