atrium-api-cc-de_CH / ch.tutteli.atrium.api.cc.de_CH / ch.tutteli.atrium.assertions.throwable.thrown.builders.ThrowableThrownBuilder

Extensions for ch.tutteli.atrium.assertions.throwable.thrown.builders.ThrowableThrownBuilder

wirft

fun <TExpected : Throwable> ThrowableThrownBuilder.wirft(): Unit

Makes the assertion that the thrown Throwable is of type TExpected.

fun <TExpected : Throwable> ThrowableThrownBuilder.wirft(assertionCreator: AssertionPlant<TExpected>.() -> Unit): Unit

Makes the assertion that the thrown Throwable is of type TExpected and it assertionCreator which are checked additionally as well.