Telerik® JustMock™ by Progress

Returns the number of times the specified setter or event subscription method was called.

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

Syntax

C#
public static int GetTimesSetCalled(
	Action action,
	Args args
)
Visual Basic
Public Shared Function GetTimesSetCalled ( _
	action As Action, _
	args As Args _
) As Integer

Parameters

action
Type: System..::..Action
The setter or event subscription method to inspect
args
Type: Telerik.JustMock..::..Args
Specifies to ignore the instance and/or arguments during assertion.

Return Value

Number of calls

See Also