Telerik® JustMock™ by Progress

Matches argument for the expected condition.

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

Syntax

C#
public static T Matches<T>(
	Expression<Predicate<T>> match
)
Visual Basic
Public Shared Function Matches(Of T) ( _
	match As Expression(Of Predicate(Of T)) _
) As T

Parameters

match
Type: System.Linq.Expressions..::..Expression<(Of <(<'Predicate<(Of <(<'T>)>)>>)>)>
Matcher expression

Type Parameters

T
Contains the type of the argument.

Return Value

Argument type

See Also