contains

suspend fun Assert<Flow<*>>.contains(element: Any?)

Asserts the flow contains the expected element, using in. Succeeds as soon as that element is received.

See also