Telerik® JustMock™ by Progress

Setups the target mock call with user expectation.

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

Syntax

C#
public static ActionExpectation Arrange<T>(
	T obj,
	Action<T> action
)
Visual Basic
Public Shared Function Arrange(Of T) ( _
	obj As T, _
	action As Action(Of T) _
) As ActionExpectation

Parameters

obj
Type: T
Target instance.
action
Type: System..::..Action<(Of <(<'T>)>)>

[Missing <param name="action"/> documentation for "M:Telerik.JustMock.Mock.Arrange``1(``0,System.Action{``0})"]

Type Parameters

T
Target type

Return Value

Reference to ActionExpectation to setup the mock.

See Also