toHaveElements
Expects that the subject of this
expectation (an Iterable) has a next element (Iterator.hasNext returns true).
Return
an Expect for the subject of this
expectation.
Since
0.17.0
Samples
expect(listOf("A", 1, 3f)).toHaveElements()
fails {
expect(emptyList<Int>()).toHaveElements()
}