containsExactly

suspend fun Assert<Flow<*>>.containsExactly(vararg elements: Any?)

Asserts the flow contains exactly the expected elements. They must be in the same order and there must not be any extra elements.

See also