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

PairAssertionsBuilder

object PairAssertionsBuilder : PairAssertions (source)

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 : Any> first(plant: AssertionPlant<<ERROR CLASS><K, out <ERROR CLASS>>>, assertionCreator: AssertionPlant<K>.() -> Unit): Assertion

nullableFirst

fun <K> nullableFirst(plant: AssertionPlant<<ERROR CLASS><K, out <ERROR CLASS>>>, assertionCreator: AssertionPlantNullable<K>.() -> Unit): Assertion

nullableSecond

fun <V> nullableSecond(plant: AssertionPlant<<ERROR CLASS><out <ERROR CLASS>, V>>, assertionCreator: AssertionPlantNullable<V>.() -> Unit): Assertion

second

fun <V : Any> second(plant: AssertionPlant<<ERROR CLASS><out <ERROR CLASS>, V>>, assertionCreator: AssertionPlant<V>.() -> Unit): Assertion

Inherited Functions

first

abstract fun <K : Any> first(plant: AssertionPlant<<ERROR CLASS><K, out <ERROR CLASS>>>, assertionCreator: AssertionPlant<K>.() -> Unit): Assertion

nullableFirst

abstract fun <K> nullableFirst(plant: AssertionPlant<<ERROR CLASS><K, out <ERROR CLASS>>>, assertionCreator: AssertionPlantNullable<K>.() -> Unit): Assertion

nullableSecond

abstract fun <V> nullableSecond(plant: AssertionPlant<<ERROR CLASS><out <ERROR CLASS>, V>>, assertionCreator: AssertionPlantNullable<V>.() -> Unit): Assertion

second

abstract fun <V : Any> second(plant: AssertionPlant<<ERROR CLASS><out <ERROR CLASS>, V>>, assertionCreator: AssertionPlant<V>.() -> Unit): Assertion