Telerik® JustMock™ by Progress

Creates a mocked instance from a given type.

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

Syntax

C#
public static T Create<T>(
	Behavior behavior
)
Visual Basic
Public Shared Function Create(Of T) ( _
	behavior As Behavior _
) As T

Parameters

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

Type Parameters

T
Type of the mock

Return Value

Mock instance

See Also