EntryPointStepLogic
interface EntryPointStepLogic<K, V, T : MapLike, out S : MapLikeContains.SearchBehaviour> : Contains.EntryPointStepLogic<T, S> (source)
The entry point of the contract on the logic level, containing the container -- i.e. the subject of this expectation for which the sophisticated contain
assertion should be created -- as well as the chosen searchBehaviour.
The searchBehaviour might me modified in which case it is recommended that a new EntryPointStep is created (retain immutability).
Inheritors
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The AssertionContainer from which this building process started and to which the resulting Assertion should be appended.
Link copied to clipboard
Link copied to clipboard
val <K, V, T : MapLike> MapLikeContains.EntryPointStepLogic<K, V, T, NoOpSearchBehaviour>.inOrder: MapLikeContains.EntryPointStep<K, V, T, InOrderSearchBehaviour>
Link copied to clipboard
The chosen SearchBehaviour.
Functions
Link copied to clipboard
fun <K, V, T : MapLike> MapLikeContains.EntryPointStepLogic<K, V, T, InAnyOrderSearchBehaviour>.keyValuePairsInAnyOrder(keyValuePairs: List<Pair<K, V>>): Assertion
Link copied to clipboard
fun <K, V, T : MapLike> MapLikeContains.EntryPointStepLogic<K, V, T, InAnyOrderOnlySearchBehaviour>.keyValuePairsInAnyOrderOnly(keyValuePairs: List<Pair<K, V>>): Assertion
Link copied to clipboard
fun <K, V, T : MapLike> MapLikeContains.EntryPointStepLogic<K, V, T, InOrderOnlySearchBehaviour>.keyValuePairsInOrderOnly(keyValuePairs: List<Pair<K, V>>, reportingOptions: InOrderOnlyReportingOptions.() -> Unit): Assertion
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
open fun <S2 : MapLikeContains.SearchBehaviour> withSearchBehaviour(searchBehaviour: S2): MapLikeContains.EntryPointStep<K, V, T, S2>