Enum
AfterLastValue

Sets behavior after last value.

Definition

Namespace:Telerik.JustMock.Helpers

Assembly:Telerik.JustMock.dll

Syntax:

cs-api-definition
public enum AfterLastValue

Fields

KeepReturningLastValue

The last value in the values array will be returned on each call.

Declaration

cs-api-definition
KeepReturningLastValue = 0

Field Value

AfterLastValue

StartFromBeginning

The member will start returning the same values starting from the beginning.

Declaration

cs-api-definition
StartFromBeginning = 2

Field Value

AfterLastValue

ThrowAssertionFailed

An assertion failure exception will be thrown on the call after the one that returns the last value.

Declaration

cs-api-definition
ThrowAssertionFailed = 1

Field Value

AfterLastValue