Skip to content

ExceptionAssertions<T>.NotHaveInnerException Method ​

Definition ​

Asserts that the exception does not have an inner exception.

c#
public AssertionsChain<ExceptionAssertions<T>, T> NotHaveInnerException();

View source

Returns ​

AssertionsChain<ExceptionAssertions<T>, T>

An AssertionsChain<TAssertions, T> for chaining further assertions.