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

PairAssertionsBuilder

object PairAssertionsBuilder : PairAssertions

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

Functions

first

fun <K, T : Pair<K, *>> first(expect: Expect<T>): ExtractedFeaturePostStep<T, K>
fun <K : Any> first(plant: AssertionPlant<Pair<K, *>>, assertionCreator: AssertionPlant<K>.() -> Unit): Assertion

nullableFirst

fun <K> nullableFirst(plant: AssertionPlant<Pair<K, *>>, assertionCreator: AssertionPlantNullable<K>.() -> Unit): Assertion

nullableSecond

fun <V> nullableSecond(plant: AssertionPlant<Pair<*, V>>, assertionCreator: AssertionPlantNullable<V>.() -> Unit): Assertion

second

fun <V, T : Pair<*, V>> second(expect: Expect<T>): ExtractedFeaturePostStep<T, V>
fun <V : Any> second(plant: AssertionPlant<Pair<*, V>>, assertionCreator: AssertionPlant<V>.() -> Unit): Assertion