SuspendLambdaExpectation

interface SuspendLambdaExpectation : Expect<suspend () -> Unit>

Functions

Link copied to clipboard
expect abstract fun toBe(expected: suspend () -> Unit)
expect abstract fun toBe(expected: suspend () -> Unit, message: String)
Link copied to clipboard
expect abstract fun toBeNonNull()
expect abstract fun toBeNonNull(message: String)
Link copied to clipboard
expect abstract fun toBeNull()
expect abstract fun toBeNull(message: String)
Link copied to clipboard
open suspend fun toFail(): Throwable
Link copied to clipboard
inline suspend fun <T : Throwable> SuspendLambdaExpectation.toFailWith(): T
Link copied to clipboard
open suspend fun toPass()

Properties

Link copied to clipboard
expect abstract val value: suspend () -> Unit