Skip to content

ExceptionAssertions<T>.NotHaveInnerException Method

Definition

Asserts that the exception does not have an inner exception.

public ExceptionAssertionsChain<T> NotHaveInnerException();

Returns

ExceptionAssertionsChain<T>

An ExceptionAssertionsChain<T> for chaining further assertions.