doc / ch.tutteli.atrium.domain.builders.creating / ThrowableThrownAssertionsBuilder

ThrowableThrownAssertionsBuilder

object ThrowableThrownAssertionsBuilder : ThrowableThrownAssertions (source)

Delegates inter alia to the implementation of ThrowableThrownAssertions. In detail, it implements ThrowableThrownAssertions by delegating to throwableThrownAssertions which in turn delegates to the implementation via loadSingleService.

Properties

providers

val providers: AbsentThrowableMessageProviderFactoryBuilder

Returns AbsentThrowableMessageProviderFactoryBuilder which inter alia delegates to the implementation of AbsentThrowableMessageProviderFactory.

Functions

nothingThrown

fun nothingThrown(throwableThrownBuilder: Builder): <ERROR CLASS>

toBe

fun <TExpected : Throwable> toBe(throwableThrownBuilder: Builder, expectedType: KClass<TExpected>, assertionCreator: AssertionPlant<TExpected>.() -> Unit): <ERROR CLASS>