Class AutoMockSettings
Contains settings that modify the auto-mocking container behavior. Create an instance of this class, set all relevant properties
and pass it to
Inheritance
Inherited Members
Namespace: Telerik.JustMock.AutoMock
Assembly: Telerik.JustMock.dll
Syntax
public class AutoMockSettings : NinjectSettings, INinjectSettings
Constructors
AutoMockSettings()
Declaration
public AutoMockSettings()
Properties
ConstructorArgTypes
Specifies the constructor overload which should be injected. The constructor to inject will be the one that has the exact same parameter types as this setting's value. If this setting is not specified, the default constructor scoring algorithm will be used to select the most appropriate constructor.
Declaration
public Type[] ConstructorArgTypes { get; set; }
Property Value
System.Type[]
|
MockBehavior
The behavior of the mocks created by the container.
Declaration
public Behavior MockBehavior { get; set; }
Property Value
Behavior
|