doc / ch.tutteli.atrium.domain.builders.creating / IterableContainsAssertionsBuilder

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.

Properties

searchBehaviours

val searchBehaviours: IterableContainsSearchBehaviourFactoryBuilder

Returns IterableContainsSearchBehaviourFactoryBuilder which inter alia delegates to the implementation of SearchBehaviourFactory.

Functions

entriesInAnyOrder

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

entriesInAnyOrderOnly

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

entriesInAnyOrderOnlyWithAssert

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

entriesInAnyOrderWithAssert

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

entriesInOrderOnly

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

entriesInOrderOnlyGrouped

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

entriesInOrderOnlyGroupedWithAssert

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

entriesInOrderOnlyWithAssert

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

valuesInAnyOrder

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

valuesInAnyOrderOnly

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

valuesInOrderOnly

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

valuesInOrderOnlyGrouped

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