Telerik® JustMock™ by Progress

Creates a mocked instance from a given type with RecursiveLoose behavior.

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>(
	Constructor constructor
)
Visual Basic
Public Shared Function Create(Of T) ( _
	constructor As Constructor _
) As T

Parameters

constructor
Type: Telerik.JustMock..::..Constructor
Specifies whether to call the base constructor

Type Parameters

T
Target type

Return Value

Mock instance

See Also