doc / ch.tutteli.atrium.domain.creating / IterableAssertions

IterableAssertions

interface IterableAssertions (source)

Defines the minimum set of assertion functions and builders applicable to Iterable, which an implementation of the domain of Atrium has to provide.

Functions

all

abstract fun <E : Any> all(plant: AssertionPlant<Iterable<E?>>, assertionCreator: AssertionPlant<E>.() -> Unit): Assertion

containsBuilder

abstract fun <E, T : Iterable<E>> containsBuilder(plant: AssertionPlant<T>): Builder<E, T, NoOpSearchBehaviour>

containsNotBuilder

abstract fun <E, T : Iterable<E>> containsNotBuilder(plant: AssertionPlant<T>): Builder<E, T, NotSearchBehaviour>

Inheritors

IterableAssertionsBuilder

object IterableAssertionsBuilder : IterableAssertions

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