Telerik® JustMock™ by Progress

Specifies the behavior of the mock.

Namespace: Telerik.JustMock
Assembly: Telerik.JustMock (in Telerik.JustMock.dll) Version: 2013.3.1021.0 (2013.3.1021.0)

Syntax

C#
public enum Behavior
Visual Basic
Public Enumeration Behavior

Members

Member nameValueDescription
Loose0 Specifies that by default mock calls will behave like a stub, unless explicitly setup.
RecursiveLoose1 Specifies that by default mock calls will return mock objects, unless explicitly setup.
Strict2 Specifies that any calls made on the mock will throw an exception if not explictly set.
CallOriginal3 Specifies that by default all calls made on mock will invoke its corresponding original member unless some expecations are set.

See Also