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

ThrowableAssertionsBuilder

object ThrowableAssertionsBuilder : ThrowableAssertions
Deprecated: Use _logic from ch.tutteli.atrium.logic instead; will be removed with 1.0.0

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 loadSingleService.

Properties

thrown

val thrown: ThrowableThrownAssertionsBuilder

Returns ThrowableThrownAssertionsBuilder which inter alia delegates to the implementation of ThrowableThrownAssertions.

Functions

cause

fun <TExpected : Throwable> cause(expect: Expect<out Throwable>, expectedType: KClass<TExpected>): ChangedSubjectPostStep<Throwable?, TExpected>

thrownBuilder

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

Inherited Functions

thrownBuilder

open fun thrownBuilder(assertionVerb: String, act: () -> Unit, reporter: Reporter): ThrowableThrown.Builder

Turns the given assertionVerb into an Untranslatable and delegates to the other overload.