ThrowsExceptionConstraint public class ThrowsExceptionConstraint : Constraint ThrowsExceptionConstraint tests that an exception has been thrown, without any further tests. Documentation Code /* Error decompiling System.Void NUnit.Framework.Constraints.ThrowsExceptionConstraint/ThrowsExceptionConstraintResult::WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter) */