doc / ch.tutteli.atrium.domain.builders.creating / MapAssertionsBuilder

MapAssertionsBuilder

object MapAssertionsBuilder : MapAssertions (source)

Delegates inter alia to the implementation of MapAssertions. In detail, it implements MapAssertions by delegating to mapAssertions which in turn delegates to the implementation via loadSingleService.

Properties

entry

val entry: MapEntryAssertionsBuilder

Returns MapEntryAssertionsBuilder which inter alia delegates to the implementation of MapEntryAssertions.

Functions

contains

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

containsKey

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

containsKeyWithValueAssertions

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

containsNotKey

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

getExisting

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

getExistingNullable

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

hasSize

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

isEmpty

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

isNotEmpty

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

keys

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

values

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

Inherited Functions

contains

abstract fun <K, V> contains(plant: AssertionPlant<Map<out K, V>>, keyValuePairs: List<<ERROR CLASS><K, V>>): Assertion

containsKeyWithValueAssertions

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