assertFailure

inline fun assertFailure(f: () -> Unit): Assert<Throwable>

Asserts that the given block will throw an exception rather than complete successfully.