fun Assert<Collection<*>>.containsOnly(vararg elements: Any?): Unit
Platform and version requirements: Common
Asserts the collection contains only the expected elements
See Also
fun <K, V> Assert<Map<K, V>>.containsOnly(vararg elements: <ERROR CLASS><K, V>): Unit
Platform and version requirements: Common
Asserts the map contains only the expected elements. There must not be any extra elements.
See Also