Telerik® JustMock™ by Progress

Asserts the specific call

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

Syntax

C#
public void Assert<TService>(
	Expression<Action<TService>> expression,
	string message = null
)
Visual Basic
Public Sub Assert(Of TService) ( _
	expression As Expression(Of Action(Of TService)), _
	Optional message As String = Nothing _
)

Parameters

expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Action<(Of <(<'TService>)>)>>)>)>
Target expression.
message (Optional)
Type: System..::..String
A message to display if the assertion fails.

Type Parameters

TService
Service type.

See Also