Telerik® JustMock™ by Progress

Creates a mocked instance from settings specified in the lambda.

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

Parameters

settings
Type: System..::..Action<(Of <(<'IFluentConfig<(Of <(<'T>)>)>>)>)>
Specifies mock settings

Type Parameters

T
Type of the mock

Return Value

Mock instance

See Also