Telerik® JustMock™ by Progress

Asserts all expected setups.

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

Syntax

C#
public static void AssertAll<T>(
	this T target,
	string message = null
)
Visual Basic
<ExtensionAttribute> _
Public Shared Sub AssertAll(Of T) ( _
	target As T, _
	Optional message As String = Nothing _
)

Parameters

target
Type: T
Target instance.
message (Optional)
Type: System..::..String

[Missing <param name="message"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.AssertAll``1(``0,System.String)"]

Type Parameters

T
Type of the mock.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also