AutoMock.

AutoMock(MockBehavior, IContainer, Func<IContainer, IContainer>) Constructor

Summary

Create a container that automatically fakes unknown types

Syntax

public AutoMock(MockBehavior behavior, IContainer container = null, Func<IContainer, IContainer> configureAction = null)

Attributes

Type Description
NullableContextAttribute

Parameters

Name Type Description
behavior MockBehavior
container IContainer
configureAction Func<IContainer, IContainer>

Return Value

Type Description
void