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

MapEntryAssertionsBuilder

object MapEntryAssertionsBuilder : MapEntryAssertions

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

Functions

isKeyValue

fun <K, V, T : Entry<K, V>> isKeyValue(expect: Expect<T>, key: K, value: V): Assertion
fun <K : Any, V : Any> isKeyValue(plant: AssertionPlant<Entry<K, V>>, key: K, value: V): Assertion

key

fun <K, T : Entry<K, *>> key(expect: Expect<T>): ExtractedFeaturePostStep<T, K>
fun <K : Any> key(plant: AssertionPlant<Entry<K, *>>, assertionCreator: AssertionPlant<K>.() -> Unit): Assertion

nullableKey

fun <K> nullableKey(plant: AssertionPlant<Entry<K, *>>, assertionCreator: AssertionPlantNullable<K>.() -> Unit): Assertion

nullableValue

fun <V> nullableValue(plant: AssertionPlant<Entry<*, V>>, assertionCreator: AssertionPlantNullable<V>.() -> Unit): Assertion

value

fun <V, T : Entry<*, V>> value(expect: Expect<T>): ExtractedFeaturePostStep<T, V>
fun <V : Any> value(plant: AssertionPlant<Entry<*, V>>, assertionCreator: AssertionPlant<V>.() -> Unit): Assertion