EntryPointStepImpl

class EntryPointStepImpl<K, V, T : MapLike, out S : MapLikeContains.SearchBehaviour>(container: AssertionContainer<T>, val converter: (T) -> Map<out K, V>, searchBehaviour: S) : EntryPointStepImpl<T, S> , MapLikeContains.EntryPointStepInternal<K, V, T, S> (source)

Constructors

Link copied to clipboard
constructor(container: AssertionContainer<T>, converter: (T) -> Map<out K, V>, searchBehaviour: S)

Properties

Link copied to clipboard

Entry point to the logic level of Atrium -- which is one level deeper than the API -- within the building process of a sophisticated contains assertion for Iterable.

Link copied to clipboard
open override val container: AssertionContainer<T>

The AssertionContainer from which this building process started and to which the resulting Assertion should be appended.

Link copied to clipboard
open override val converter: (T) -> Map<out K, V>

The converter which shall be used to turn the subject of this expectation into an Iterable of type E.

Link copied to clipboard
open override val searchBehaviour: S

The chosen SearchBehaviour.

Functions

Link copied to clipboard
Link copied to clipboard
fun <K, V> MapLikeContains.EntryPointStepLogic<*, *, *, *>.toVarArgPairs(mapLike: MapLike): Pair<Pair<K, V>, Array<out Pair<K, V>>>

Transforms the given MapLike to Pair<Pair<K, V>, Array<out Pair<K, V>>> with the intention that it can be easily used for a function requiring Pair<K, V>, vararg Pair<K, V>.

Link copied to clipboard