ExceptionExtensions Class
Definition
Extension methods that provide exception-specific assertions.
public static class ExceptionExtensions
Methods
| Name | Description |
|---|---|
HaveActualValue<TException>(ExceptionAssertions<TException>, Object) |
Asserts that the ArgumentOutOfRangeException has the specified actual value. |
HaveParamName<TException>(ExceptionAssertions<TException>, String) |
Asserts that the ArgumentException has the specified parameter name. |
NotHaveActualValue<TException>(ExceptionAssertions<TException>, Object) |
Asserts that the ArgumentOutOfRangeException does not have the specified actual value. |
NotHaveParamName<TException>(ExceptionAssertions<TException>, String) |
Asserts that the ArgumentException does not have the specified parameter name. |