Overload | Description |
---|---|
WithInnerExceptionExactly<TException,TInnerException>(Task<ExceptionAssertions<TException>>,String,Object[]) | Asserts that the thrown exception contains an inner exception of the exact type TInnerException (and not a derived exception type). |
WithInnerExceptionExactly<TException>(Task<ExceptionAssertions<TException>>,Type,String,Object[]) | Asserts that the thrown exception contains an inner exception of the exact type (and not a derived exception type). |