doc / ch.tutteli.atrium.domain.creating / ThrowableAssertions

ThrowableAssertions

interface ThrowableAssertions (source)

Defines the minimum set of assertion functions and builders applicable to Throwable, which an implementation of the domain of Atrium has to provide.

Functions

thrownBuilder

abstract fun thrownBuilder(assertionVerb: Translatable, act: () -> Unit, reporter: Reporter): Builder

Inheritors

ThrowableAssertionsBuilder

object ThrowableAssertionsBuilder : ThrowableAssertions

Delegates inter alia to the implementation of ThrowableAssertions. In detail, it implements ThrowableAssertions by delegating to throwableAssertions which in turn delegates to the implementation via ServiceLoader.