doc / ch.tutteli.atrium.api.fluent.en_GB / hasNext

hasNext

fun <E, T : Iterable<E>> Expect<T>.hasNext(): Expect<T> (source)
Deprecated: Use toHaveElements; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (an Iterable) has at least one element.

Return
an Expect for the subject of this expectation.

Since
0.9.0