fun Assert<ByteArray>.containsOnly(vararg elements: Byte): Unit
Asserts the ByteArray contains only the expected elements, in any order.
See Also
fun Assert<IntArray>.containsOnly(vararg elements: Int): Unit
Asserts the IntArray contains only the expected elements, in any order.
See Also
fun Assert<ShortArray>.containsOnly(vararg elements: Short): Unit
Asserts the ShortArray contains only the expected elements, in any order.
See Also
fun Assert<LongArray>.containsOnly(vararg elements: Long): Unit
Asserts the LongArray contains only the expected elements, in any order.
See Also
fun Assert<FloatArray>.containsOnly(vararg elements: Float): Unit
Asserts the FloatArray contains only the expected elements, in any order.
See Also
fun Assert<DoubleArray>.containsOnly(vararg elements: Double): Unit
Asserts the DoubleArray contains only the expected elements, in any order.
See Also
fun Assert<CharArray>.containsOnly(vararg elements: Char): Unit
Asserts the CharArray contains only the expected elements, in any order.
See Also
fun Assert<Array<*>>.containsOnly(vararg elements: Any?): Unit
Asserts the array contains only the expected elements, in any order.
See Also
fun Assert<Iterable<*>>.containsOnly(vararg elements: Any?): Unit
Asserts the collection contains only the expected elements, in any order.
See Also
fun <K, V> Assert<Map<K, V>>.containsOnly(vararg elements: Pair<K, V>): Unit
Asserts the map contains only the expected elements. There must not be any extra elements.
See Also