atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating / IterableContainsAssertionsBuilder

IterableContainsAssertionsBuilder

object IterableContainsAssertionsBuilder (source)

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: <ERROR CLASS><E?, T, <ERROR CLASS>>, assertionCreators: List<(<ERROR CLASS><E>.() -> Unit)?>): <ERROR CLASS>

entriesInAnyOrderOnly

fun <E : Any, T : Iterable<E?>> entriesInAnyOrderOnly(builder: <ERROR CLASS><E?, T, <ERROR CLASS>>, assertionCreators: List<(<ERROR CLASS><E>.() -> Unit)?>): <ERROR CLASS>

entriesInAnyOrderOnlyWithAssert

fun <E : Any, T : Iterable<E?>> entriesInAnyOrderOnlyWithAssert(builder: <ERROR CLASS><E?, T, <ERROR CLASS>>, assertionCreators: List<(<ERROR CLASS><E>.() -> Unit)?>): <ERROR CLASS>

entriesInAnyOrderWithAssert

fun <E : Any, T : Iterable<E?>> entriesInAnyOrderWithAssert(checkerOption: <ERROR CLASS><E?, T, <ERROR CLASS>>, assertionCreators: List<(<ERROR CLASS><E>.() -> Unit)?>): <ERROR CLASS>

entriesInOrderOnly

fun <E : Any, T : Iterable<E?>> entriesInOrderOnly(builder: <ERROR CLASS><E?, T, <ERROR CLASS>>, assertionCreators: List<(<ERROR CLASS><E>.() -> Unit)?>): <ERROR CLASS>

entriesInOrderOnlyGrouped

fun <E : Any, T : Iterable<E?>> entriesInOrderOnlyGrouped(builder: <ERROR CLASS><E?, T, <ERROR CLASS>>, groups: List<List<(<ERROR CLASS><E>.() -> Unit)?>>): <ERROR CLASS>

entriesInOrderOnlyGroupedWithAssert

fun <E : Any, T : Iterable<E?>> entriesInOrderOnlyGroupedWithAssert(builder: <ERROR CLASS><E?, T, <ERROR CLASS>>, groups: List<List<(<ERROR CLASS><E>.() -> Unit)?>>): <ERROR CLASS>

entriesInOrderOnlyWithAssert

fun <E : Any, T : Iterable<E?>> entriesInOrderOnlyWithAssert(builder: <ERROR CLASS><E?, T, <ERROR CLASS>>, assertionCreators: List<(<ERROR CLASS><E>.() -> Unit)?>): <ERROR CLASS>

valuesInAnyOrder

fun <E, T : Iterable<E>> valuesInAnyOrder(checkerOption: <ERROR CLASS><E, T, <ERROR CLASS>>, expected: List<E>): <ERROR CLASS>

valuesInAnyOrderOnly

fun <E, T : Iterable<E>> valuesInAnyOrderOnly(builder: <ERROR CLASS><E, T, <ERROR CLASS>>, expected: List<E>): <ERROR CLASS>

valuesInOrderOnly

fun <E, T : Iterable<E>> valuesInOrderOnly(builder: <ERROR CLASS><E, T, <ERROR CLASS>>, expected: List<E>): <ERROR CLASS>

valuesInOrderOnlyGrouped

fun <E, T : Iterable<E>> valuesInOrderOnlyGrouped(builder: <ERROR CLASS><E, T, <ERROR CLASS>>, groups: List<List<E>>): <ERROR CLASS>

Extension Functions

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.