Telerik® JustMock™ by Progress

Setups the target for mocking all static calls.

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

Syntax

C#
public static void SetupStatic<T>(
	Behavior behavior
)
Visual Basic
Public Shared Sub SetupStatic(Of T) ( _
	behavior As Behavior _
)

Parameters

behavior
Type: Telerik.JustMock..::..Behavior
Specifies behavior of the mock. Default is RecursiveLoose

Type Parameters

T
Target type

Remarks

Considers all public members of the class. To mock private member, please use the private interface Mock.NonPublic

See Also