Throws.Exception Property

Definition

Creates a constraint specifying an expected exception

public static NUnit.Framework.Constraints.ResolvableConstraintExpression Exception { get; }
member this.Exception : NUnit.Framework.Constraints.ResolvableConstraintExpression

Property Value

ResolvableConstraintExpression

Applies to