doc / ch.tutteli.atrium.domain.creating.iterable.contains.creators / IterableContainsAssertions

IterableContainsAssertions

interface IterableContainsAssertions (source)

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

Functions

entriesInAnyOrder

abstract fun <E : Any, T : Iterable<E?>> entriesInAnyOrder(checkerOption: CheckerOption<E?, T, InAnyOrderSearchBehaviour>, assertionCreators: List<AssertionPlant<E>.() -> Unit>): Assertion

entriesInAnyOrderOnly

abstract fun <E : Any, T : Iterable<E?>> entriesInAnyOrderOnly(builder: Builder<E?, T, InAnyOrderOnlySearchBehaviour>, assertionCreators: List<AssertionPlant<E>.() -> Unit>): Assertion

entriesInOrderOnly

abstract fun <E : Any, T : Iterable<E?>> entriesInOrderOnly(builder: Builder<E?, T, InOrderOnlySearchBehaviour>, assertionCreators: List<AssertionPlant<E>.() -> Unit>): Assertion

entriesInOrderOnlyGrouped

abstract fun <E : Any, T : Iterable<E?>> entriesInOrderOnlyGrouped(builder: Builder<E?, T, InOrderOnlyGroupedSearchBehaviour>, groups: List<List<AssertionPlant<E>.() -> Unit>>): Assertion

valuesInAnyOrder

abstract fun <E, T : Iterable<E>> valuesInAnyOrder(checkerOption: CheckerOption<E, T, InAnyOrderSearchBehaviour>, expected: List<E>): Assertion

valuesInAnyOrderOnly

abstract fun <E, T : Iterable<E>> valuesInAnyOrderOnly(builder: Builder<E, T, InAnyOrderOnlySearchBehaviour>, expected: List<E>): Assertion

valuesInOrderOnly

abstract fun <E, T : Iterable<E>> valuesInOrderOnly(builder: Builder<E, T, InOrderOnlySearchBehaviour>, expected: List<E>): Assertion

valuesInOrderOnlyGrouped

abstract fun <E, T : Iterable<E>> valuesInOrderOnlyGrouped(builder: Builder<E, T, InOrderOnlyGroupedSearchBehaviour>, groups: List<List<E>>): Assertion

Inheritors

IterableContainsAssertionsBuilder

object IterableContainsAssertionsBuilder : IterableContainsAssertions

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