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