doc / ch.tutteli.atrium.api.cc.en_GB / notToThrow

notToThrow

fun ThrowableThrown.Builder.notToThrow(): Unit
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0

Makes the assertion that no Throwable is thrown at all.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
Notice, that this assertion function cannot provide a fluent API because we assume nothing happens, so there is nothing we could make assertions on in addition.