doc / ch.tutteli.atrium.logic.creating.iterable.contains.creators / IterableLikeContainsAssertions

IterableLikeContainsAssertions

interface IterableLikeContainsAssertions (source)

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

Functions

entriesInAnyOrderOnly

abstract fun <E : Any, T> entriesInAnyOrderOnly(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<out E?, T, InAnyOrderOnlySearchBehaviour>, assertionCreators: List<(Expect<E>.() -> Unit)?>): Assertion

entriesInOrderOnly

abstract fun <E : Any, T> entriesInOrderOnly(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<out E?, T, InOrderOnlySearchBehaviour>, assertionCreators: List<(Expect<E>.() -> Unit)?>): Assertion

entriesInOrderOnlyGrouped

abstract fun <E : Any, T> entriesInOrderOnlyGrouped(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<out E?, T, InOrderOnlyGroupedSearchBehaviour>, groups: List<List<(Expect<E>.() -> Unit)?>>): Assertion

valuesInAnyOrderOnly

abstract fun <E, T> valuesInAnyOrderOnly(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<E, T, InAnyOrderOnlySearchBehaviour>, expected: List<E>): Assertion

valuesInOrderOnly

abstract fun <E, T> valuesInOrderOnly(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<E, T, InOrderOnlySearchBehaviour>, expected: List<E>): Assertion

valuesInOrderOnlyGrouped

abstract fun <E, T> valuesInOrderOnlyGrouped(entryPointStepLogic: IterableLikeContains.EntryPointStepLogic<E, T, InOrderOnlyGroupedSearchBehaviour>, groups: List<List<E>>): Assertion

Inheritors

DefaultIterableLikeContainsAssertions

class DefaultIterableLikeContainsAssertions : IterableLikeContainsAssertions