NUnit.Framework.AssertionHelper.Expect Method
Apply a constraint to an actual value, succeeding if the constraint is satisfied and throwing an assertion exception on failure. Works identically to Assert.That(object, NUnit.Framework.Constraints.IResolveConstraint, string)

Syntax

public void Expect (object actual, NUnit.Framework.Constraints.IResolveConstraint constraint, string message)

Parameters

actual
The actual value to test
constraint
A Constraint to be applied
message
The message that will be displayed on failure

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NUnit.Framework
Assembly: NUnitLite (in NUnitLite.dll)
Assembly Versions: 0.6.0.0