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
)
Visual Basic
Public Shared Function GetTimesSetCalled ( _
	action As Action _
) As Integer

Parameters

action
Type: System..::..Action
The setter or event subscription method to inspect

Return Value

Number of calls

See Also