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


interface ThrowableThrown
Deprecated: Use the interface from package domain.creating; will be removed with 1.0.0

Defines the deprecated contract for sophisticated a Throwable was thrown assertions.

An assertion starts with a ThrowableThrownBuilder and is typically built up by an AbsentThrowableMessageProvider and 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.