Telerik® JustMock™ by Progress

The MultipleReturnValueChainHelper type exposes the following members.

Methods

  NameDescription
Public methodStatic memberReturns<(Of <<'(TReturn>)>>)
Defines the return value for a specific method expectation.
Public methodStatic memberReturnsMany<(Of <<'(TReturn>)>>)(IFunc<(Of <<'(TReturn>)>>), array<TReturn>[]()[][])
Specifies that the arranged member will return consecutive values from the given array. If the arranged member is called after it has returned the last value, an exception is thrown.
Public methodStatic memberReturnsMany<(Of <<'(TReturn>)>>)(IFunc<(Of <<'(TReturn>)>>), IList<(Of <<'(TReturn>)>>), AfterLastValue)
Specifies that the arranged member will return consecutive values from the given array. If the arranged member is called after it has returned the last value, the behavior depends on the behavior parameter.

See Also