inline fun <reified E, T : Iterable<E>> Expect<T>.containsExactlyElementsOf(expectedIterable: Iterable<E>): Expect<T>
(source)
Expects that the subject of the assertion (an Iterable) contains only elements of expectedIterable in same order
It is a shortcut for 'contains.inOrder.only.elementsOf(anotherList)'
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
An Expect for the current subject of the assertion.
Since
0.11.0