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

IThrowableThrown

interface IThrowableThrown

Defines the contract for sophisticated a Throwable was thrown assertions.

An assertion starts with a ThrowableThrownBuilder and is typically built up by an IAbsentThrowableMessageProvider and an IAnyNarrow.IDownCastFailureHandler which are passed to a ICreator which finally builds the assertion.

Types

IAbsentThrowableMessageProvider

interface IAbsentThrowableMessageProvider

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

ICreator

interface ICreator<TExpected : Throwable>

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