assertk.assertions / containsAll

containsAll

fun <T> Assert<Array<T>>.containsAll(vararg elements: Any?): Unit

Platform and version requirements: Common

Asserts the array contains all the expected elements, in any order. The array may also contain additional elements.

See Also

containsExactly

fun Assert<Collection<*>>.containsAll(vararg elements: Any?): Unit

Platform and version requirements: Common

Asserts the collection contains all the expected elements, in any order. The collection may also contain additional elements.

See Also

containsNone

containsExactly

containsOnly

fun <K, V> Assert<Map<K, V>>.containsAll(vararg elements: <ERROR CLASS><K, V>): Unit

Platform and version requirements: Common

Asserts the map contains all the expected elements. The map may also contain additional elements.

See Also

containsNone

containsExactly