Enum Behavior
Specifies the behavior of the mock.
Namespace: Telerik.JustMock
Assembly: Telerik.JustMock.dll
Syntax
public enum Behavior
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.
Strict
Specifies that any calls made on the mock will throw an exception if not explictly set.