atrium-domain-robstoll-jvm / ch.tutteli.atrium.domain.robstoll.creating / PairAssertionsImpl

PairAssertionsImpl

class PairAssertionsImpl (source)

Constructors

<init>

PairAssertionsImpl()

Functions

first

fun <K, T : Pair<K, *>> first(expect: <ERROR CLASS><T>): <ERROR CLASS>
fun <K : Any> first(plant: <ERROR CLASS><Pair<K, *>>, assertionCreator: <ERROR CLASS><K>.() -> Unit): <ERROR CLASS>

nullableFirst

fun <K> nullableFirst(plant: <ERROR CLASS><Pair<K, *>>, assertionCreator: <ERROR CLASS><K>.() -> Unit): <ERROR CLASS>

nullableSecond

fun <V> nullableSecond(plant: <ERROR CLASS><Pair<*, V>>, assertionCreator: <ERROR CLASS><V>.() -> Unit): <ERROR CLASS>

second

fun <V, T : Pair<*, V>> second(expect: <ERROR CLASS><T>): <ERROR CLASS>
fun <V : Any> second(plant: <ERROR CLASS><Pair<*, V>>, assertionCreator: <ERROR CLASS><V>.() -> Unit): <ERROR CLASS>