NUnit.Framework.Constraints.ThrowsConstraint
ThrowsConstraint is used to test the exception thrown by
a delegate by applying a constraint to it.
namespace NUnit.Framework.Constraints
{
public class ThrowsConstraint : PrefixConstraint
{
public Exception ActualException { get; }
public ThrowsConstraint(IConstraint baseConstraint);
}
}