Contains an API for types introduced with Kotlin 1.3
fun <TExpected : Throwable> Expect<out Result<*>>.isFailure(): Expect<TExpected>
Expects that the subject of infix fun <TExpected : Throwable> Expect<out Result<*>>.isFailure(assertionCreator: Expect<TExpected>.() -> Unit): Expect<TExpected>
Expects that the subject of |
|
infix fun <E, T : Result<E>> Expect<T>.toBe(success: success): Expect<E>
Expects that the subject of infix fun <E, T : Result<E>> Expect<T>.toBe(success: SuccessWithCreator<E>): Expect<T>
Expects that the subject of |