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

MapAssertionsDeprecatedImpl

abstract class MapAssertionsDeprecatedImpl : MapAssertions

Constructors

<init>

MapAssertionsDeprecatedImpl()

Functions

contains

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

containsKeyWithValueAssertions

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

getExisting

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

getExistingNullable

open fun <K, V> getExistingNullable(plant: AssertionPlant<Map<out K, V>>, key: K): AssertionPlantNullable<V>
open fun <K, V> getExistingNullable(plant: AssertionPlant<Map<out K, V>>, key: K, assertionCreator: AssertionPlantNullable<V>.() -> Unit): Assertion

hasSize

open fun hasSize(plant: AssertionPlant<Map<*, *>>, size: Int): Assertion

keys

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

values

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

Inheritors

MapAssertionsImpl

class MapAssertionsImpl : MapAssertions, MapAssertionsDeprecatedImpl