doc / ch.tutteli.atrium.api.cc.en_GB / Entry

Entry

class Entry<in T : Any> : GroupWithoutNullableEntries<Assert<T>.() -> Unit> (source)

Parameter object to express a GroupWithoutNullableEntries with a single identification lambda.

Parameters

assertionCreator - The identification lambda identifying the entry where an entry is considered to be identified if it holds all Assertions the lambda might create.

Constructors

<init>

Entry(assertionCreator: Assert<T>.() -> Unit)

Parameter object to express a GroupWithoutNullableEntries with a single identification lambda.

Properties

assertionCreator

val assertionCreator: Assert<T>.() -> Unit

The identification lambda identifying the entry where an entry is considered to be identified if it holds all Assertions the lambda might create.

Functions

toList

fun toList(): List<Assert<T>.() -> Unit>