Throws
Helper class with properties and methods that supply
constraints that operate on exceptions.
Creates a constraint specifying an expected ArgumentException
Creates a constraint specifying an expected ArgumentNullException
Creates a constraint specifying an expected exception
Creates a constraint specifying an exception with a given InnerException
Creates a constraint specifying an expected InvalidOperationException
Creates a constraint specifying that no exception is thrown
Creates a constraint specifying an expected TargetInvocationException
protected Throws()
Creates a constraint specifying the type of exception expected
Creates a constraint specifying the type of exception expected
Creates a constraint specifying the exact type of exception expected
Creates a constraint specifying the exact type of exception expected