ThrowableThrownAssertionCreator(absentThrowableMessageProvider: AbsentThrowableMessageProvider, failureHandler: TypeTransformationFailureHandler<Throwable, TExpected>)
Represents a creator of a sophisticated a Throwable (of type TExpected) was thrown assertion.
absentThrowableMessageProvider
- Provides a description for the case no Throwable was thrown at all.
failureHandler
- A handler which decides how the assertion creator lambda (see executeActAndCreateAssertion)
is used in reporting.
Constructor
Represents a creator of a sophisticated a Throwable (of type TExpected) was thrown assertion.