Telerik® JustMock™ by Progress

Sets behavior after last value.

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

Syntax

C#
public enum AfterLastValue
Visual Basic
Public Enumeration AfterLastValue

Members

Member nameValueDescription
KeepReturningLastValue0 The last value in the values array will be returned on each call.
ThrowAssertionFailed1 An assertion failure exception will be thrown on the call after the one that returns the last value.
StartFromBeginning2 The member will start returning the same values starting from the beginning.

See Also