doc / ch.tutteli.atrium.assertions.throwable.thrown / ThrowableThrown


interface ThrowableThrown

Defines the contract for sophisticated a Throwable was thrown assertions.

An assertion starts with a ThrowableThrownBuilder and is typically built up by an AbsentThrowableMessageProvider and an AnyTypeTransformation.TypeTransformationFailureHandler which are passed to a Creator which finally builds the assertion.



interface AbsentThrowableMessageProvider

Provides a message which can be used in reporting to represent the case that no Throwable at all was thrown.


interface Creator<TExpected : Throwable>

Represents the final step of a sophisticated a Throwable was thrown assertion builder which creates the AssertionGroup as such.