interface MapAssertions
(source)
Collection of assertion functions and builders which are applicable to subjects with a Map type.
abstract fun <K, V, T : Map<out K, V>> contains(container: AssertionContainer<T>, keyValuePairs: List<Pair<K, V>>): Assertion |
|
abstract fun <K, T : Map<out K, *>> containsKey(container: AssertionContainer<T>, key: K): Assertion |
|
abstract fun <K, V : Any, T : Map<out K, V?>> containsKeyWithValueAssertions(container: AssertionContainer<T>, valueType: KClass<V>, keyValues: List<Pair<K, (Expect<V>.() -> Unit)?>>): Assertion |
|
abstract fun <K, T : Map<out K, *>> containsNotKey(container: AssertionContainer<T>, key: K): Assertion |
|
abstract fun <K, V, T : Map<out K, V>> getExisting(container: AssertionContainer<T>, key: K): ExtractedFeaturePostStep<T, V> |
|
abstract fun <T : Map<*, *>> isEmpty(container: AssertionContainer<T>): Assertion |
|
abstract fun <T : Map<*, *>> isNotEmpty(container: AssertionContainer<T>): Assertion |
|
abstract fun <T : Map<*, *>> size(container: AssertionContainer<T>): ExtractedFeaturePostStep<T, Int> |