atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating / ThrowableThrownAssertionsBuilder / toBe

toBe

inline fun <TExpected : Throwable> toBe(throwableThrownBuilder: <ERROR CLASS>, expectedType: KClass<TExpected>, noinline assertionCreator: <ERROR CLASS><TExpected>.() -> Unit): <ERROR CLASS> (source)
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0