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 Object Create(
	Type type,
	Action<IFluentConfig> settings
)
Visual Basic
Public Shared Function Create ( _
	type As Type, _
	settings As Action(Of IFluentConfig) _
) As Object

Parameters

type
Type: System..::..Type
Target type to mock
settings
Type: System..::..Action<(Of <(<'IFluentConfig>)>)>
Mock settings

Return Value

Mock instance

See Also