inline fun <reified E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.elementsOf(expectedIterable: Iterable<E>): Expect<T>
Finishes the specification of the sophisticated contains assertion where all elements of the expectedIterable
shall be searched within the Iterable.
Delegates to values which also means that it does not search for unique matches (see values for more information).
expectedIterable - The Iterable whose elements are expected to be contained within this Iterable.
AssertionError - Might throw an AssertionError if the assertion made is not correct.
IllegalArgumentException - in case the given expectedIterable does not have elements (is empty).
Return
The Expect for which the assertion was built to support a fluent API.
Since
0.9.0