atrium-domain-robstoll-jvm / ch.tutteli.atrium.domain.robstoll.creating / MapAssertionsImpl

MapAssertionsImpl

class MapAssertionsImpl : MapAssertionsDeprecatedImpl (source)

Constructors

<init>

MapAssertionsImpl()

Functions

contains

fun <K, V, T : Map<out K, V>> contains(expect: <ERROR CLASS><T>, keyValuePairs: List<Pair<K, V>>): <ERROR CLASS>

containsKey

fun <K> containsKey(subjectProvider: <ERROR CLASS><Map<out K, *>>, key: K): <ERROR CLASS>

containsKeyWithValueAssertions

fun <K, V : Any, T : Map<out K, V?>> containsKeyWithValueAssertions(expect: <ERROR CLASS><T>, valueType: KClass<V>, keyValues: List<Pair<K, (<ERROR CLASS><V>.() -> Unit)?>>): <ERROR CLASS>

containsNotKey

fun <K> containsNotKey(subjectProvider: <ERROR CLASS><Map<out K, *>>, key: K): <ERROR CLASS>

getExisting

fun <K, V, T : Map<out K, V>> getExisting(expect: <ERROR CLASS><T>, key: K): <ERROR CLASS><T, V>

isEmpty

fun isEmpty(subjectProvider: <ERROR CLASS><Map<*, *>>): <ERROR CLASS>

isNotEmpty

fun isNotEmpty(subjectProvider: <ERROR CLASS><Map<*, *>>): <ERROR CLASS>

size

fun <T : Map<*, *>> size(expect: <ERROR CLASS><T>): <ERROR CLASS>

Inherited Functions

contains

open fun <K, V> contains(plant: <ERROR CLASS><Map<out K, V>>, keyValuePairs: List<Pair<K, V>>): <ERROR CLASS>

containsKeyWithValueAssertions

open fun <K, V : Any> containsKeyWithValueAssertions(plant: <ERROR CLASS><Map<out K, V?>>, keyValues: List<Pair<K, (<ERROR CLASS><V>.() -> Unit)?>>): <ERROR CLASS>

getExisting

open fun <K, V : Any> getExisting(plant: <ERROR CLASS><Map<out K, V>>, key: K): <ERROR CLASS>
open fun <K, V : Any> getExisting(plant: <ERROR CLASS><Map<out K, V>>, key: K, assertionCreator: <ERROR CLASS><V>.() -> Unit): <ERROR CLASS>

getExistingNullable

open fun <K, V> getExistingNullable(plant: <ERROR CLASS><Map<out K, V>>, key: K): <ERROR CLASS>
open fun <K, V> getExistingNullable(plant: <ERROR CLASS><Map<out K, V>>, key: K, assertionCreator: <ERROR CLASS><V>.() -> Unit): <ERROR CLASS>

hasSize

open fun hasSize(plant: <ERROR CLASS><Map<*, *>>, size: Int): <ERROR CLASS>

keys

open fun <K> keys(plant: <ERROR CLASS><Map<out K, *>>, assertionCreator: <ERROR CLASS><Set<K>>.() -> Unit): <ERROR CLASS>

values

open fun <V> values(plant: <ERROR CLASS><Map<*, V>>, assertionCreator: <ERROR CLASS><Collection<V>>.() -> Unit): <ERROR CLASS>