doc / ch.tutteli.atrium.logic / ThrowableAssertions

ThrowableAssertions

interface ThrowableAssertions (source)

Collection of assertion functions and builders which are applicable to subjects with a Throwable type.

Functions

cause

abstract fun <TExpected : Throwable> cause(container: AssertionContainer<out Throwable>, expectedType: KClass<TExpected>): ChangedSubjectPostStep<Throwable?, TExpected>