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