Telerik® JustMock™ by Progress

Entry-point for setting expectations.

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

Syntax

C#
public ActionExpectation Arrange<TInterface>(
	Expression<Action<TInterface>> expression
)
Visual Basic
Public Function Arrange(Of TInterface) ( _
	expression As Expression(Of Action(Of TInterface)) _
) As ActionExpectation

Parameters

expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Action<(Of <(<'TInterface>)>)>>)>)>
Target expression

Type Parameters

TInterface
Mocking interface

Return Value

Reference to ActionExpectation to setup the mock.

See Also