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