NUnit.Framework.Constraints.ThrowsConstraint.Matches Method
Executes the code of the delegate and captures any exception. If a non-null base constraint was provided, it applies that constraint to the exception.

Syntax

public override bool Matches (object actual)

Parameters

actual
A delegate representing the code to be tested

Returns

True if an exception is thrown and the constraint succeeds, otherwise false

Remarks

Documentation for this section has not yet been entered.

Requirements

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