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

ThrowableThrownAssertionsBuilder

object ThrowableThrownAssertionsBuilder : ThrowableThrownAssertions (source)
Deprecated: Will be removed with 1.0.0

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 ch.tutteli.atrium.domain.creating.throwable.thrown.providers.AbsentThrowableMessageProviderFactory.

Functions

nothingThrown

fun nothingThrown(throwableThrownBuilder: ThrowableThrown.Builder): Unit

toBe

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