EnumBehavior
Enum
Specifies the behavior of the mock.
Definition
Namespace:Telerik.JustMock
Assembly:Telerik.JustMock.dll
Syntax:
cs-api-definition
public enum Behavior
Fields
CallOriginal
Specifies that by default all calls made on mock will invoke its corresponding original member unless some expecations are set.
Loose
Specifies that by default mock calls will behave like a stub, unless explicitly setup.
RecursiveLoose
Specifies that by default mock calls will return mock objects, unless explicitly setup.