ThrowsConstraint
ThrowsConstraint is used to test the exception thrown by
a delegate by applying a constraint to it.
Get the actual exception thrown - used by Assert.Throws.
Initializes a new instance of the ThrowsConstraint class,
using a constraint to be applied to the exception.