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

IterableAssertionsBuilder

object IterableAssertionsBuilder : IterableAssertions (source)

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.

Properties

contains

val contains: IterableContainsAssertionsBuilder

Returns IterableContainsAssertionsBuilder which inter alia delegates to the implementation of IterableContainsAssertions.

Functions

all

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

containsBuilder

fun <E, T : Iterable<E>> containsBuilder(subjectProvider: SubjectProvider<T>): IterableContains.Builder<E, T, NoOpSearchBehaviour>

containsNotBuilder

fun <E, T : Iterable<E>> containsNotBuilder(subjectProvider: SubjectProvider<T>): IterableContains.Builder<E, T, NotSearchBehaviour>

hasNext

fun <E, T : Iterable<E>> hasNext(expect: Expect<T>): Assertion

hasNotNext

fun <E, T : Iterable<E>> hasNotNext(expect: Expect<T>): Assertion

max

fun <E : Comparable<E>, T : Iterable<E>> max(expect: Expect<T>): ExtractedFeaturePostStep<T, E>

min

fun <E : Comparable<E>, T : Iterable<E>> min(expect: Expect<T>): ExtractedFeaturePostStep<T, E>