fun ThrowableThrown.Builder.notToThrow(): Unit
(source)
Makes the assertion that no Throwable is thrown at all.
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.