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

containsNoDuplicates

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

Expects that the subject of this expectation (an Iterable) does not have duplicate elements.

Return
an Expect for the subject of this expectation.

Since
0.14.0