shouldBeFailure |
fun Result<Any>.shouldBeFailure(block: ((Throwable?) -> Unit)? = null): Unit |
shouldBeFailureOfType |
fun <A : Throwable> Result<Any>.shouldBeFailureOfType(): Unit |
shouldBeSuccess |
fun <T> Result<T>.shouldBeSuccess(block: ((T?) -> Unit)? = null): Unitinfix fun <T> Result<T>.shouldBeSuccess(expected: T): Unit |
shouldNotBeFailure |
fun Result<Any>.shouldNotBeFailure(): Unit |
shouldNotBeFailureOfType |
fun <A : Throwable> Result<Any>.shouldNotBeFailureOfType(): Unit |
shouldNotBeSuccess |
fun <T> Result<T>.shouldNotBeSuccess(): Unitinfix fun <T> Result<T>.shouldNotBeSuccess(expected: T): Unit |