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(
	Type targetType,
	Behavior behavior,
	StaticConstructor staticConstructor
)
Visual Basic
Public Shared Sub SetupStatic ( _
	targetType As Type, _
	behavior As Behavior, _
	staticConstructor As StaticConstructor _
)

Parameters

targetType
Type: System..::..Type
Target type
behavior
Type: Telerik.JustMock..::..Behavior
Specifies behavior of the mock. Default is RecursiveLoose
staticConstructor
Type: Telerik.JustMock..::..StaticConstructor
Defines the behavior of the static constructor

See Also