doc / ch.tutteli.atrium.logic.creating.maplike.contains.creators / MapLikeContainsAssertions

MapLikeContainsAssertions

interface MapLikeContainsAssertions

Defines the minimum set of contains assertion functions for Iterable, which an implementation of the domain of Atrium has to provide.

Functions

keyValuePairsInAnyOrder

abstract fun <K, V, T> keyValuePairsInAnyOrder(entryPointStepLogic: MapLikeContains.EntryPointStepLogic<K, V, T, InAnyOrderSearchBehaviour>, keyValuePairs: List<Pair<K, V>>): Assertion

keyValuePairsInAnyOrderOnly

abstract fun <K, V, T> keyValuePairsInAnyOrderOnly(entryPointStepLogic: MapLikeContains.EntryPointStepLogic<K, V, T, InAnyOrderOnlySearchBehaviour>, keyValuePairs: List<Pair<K, V>>): Assertion

keyValuePairsInOrderOnly

abstract fun <K, V, T> keyValuePairsInOrderOnly(entryPointStepLogic: MapLikeContains.EntryPointStepLogic<K, V, T, InOrderOnlySearchBehaviour>, keyValuePairs: List<Pair<K, V>>): Assertion

keyWithValueAssertionsInAnyOrder

abstract fun <K, V : Any, T> keyWithValueAssertionsInAnyOrder(entryPointStepLogic: MapLikeContains.EntryPointStepLogic<K, out V?, T, InAnyOrderSearchBehaviour>, valueType: KClass<V>, keyValues: List<Pair<K, (Expect<V>.() -> Unit)?>>): Assertion

keyWithValueAssertionsInAnyOrderOnly

abstract fun <K, V : Any, T> keyWithValueAssertionsInAnyOrderOnly(entryPointStepLogic: MapLikeContains.EntryPointStepLogic<K, out V?, T, InAnyOrderOnlySearchBehaviour>, valueType: KClass<V>, keyValues: List<Pair<K, (Expect<V>.() -> Unit)?>>): Assertion

keyWithValueAssertionsInOrderOnly

abstract fun <K, V : Any, T> keyWithValueAssertionsInOrderOnly(entryPointStepLogic: MapLikeContains.EntryPointStepLogic<K, out V?, T, InOrderOnlySearchBehaviour>, valueType: KClass<V>, keyValues: List<Pair<K, (Expect<V>.() -> Unit)?>>): Assertion

Inheritors

DefaultMapLikeContainsAssertions

class DefaultMapLikeContainsAssertions : MapLikeContainsAssertions