assertEmits
suspend fun <T> Flow<T>.assertEmits(message: String = "", timeout: Duration = defaultTimeout, condition: suspend (T) -> Boolean)
Asserts that the flow emits an element matching condition within timeout.
suspend fun <T> Flow<T>.assertEmits(expected: T, message: String = "", timeout: Duration = defaultTimeout)
Asserts that the flow emits an element matching expected within timeout.