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)

Syntax

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

Parameters

actual
The actual value to test
constraint
A Constraint to be applied

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