doc / ch.tutteli.atrium.api.cc.infix.en_GB / Entries

Entries

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

Parameter object to express a GroupWithoutNullableEntries of identification lambdas.

It is also used to express Assert<T>.() -> Unit, vararg Assert<T>.() -> Unit at other places the infix-api.

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.

otherAssertionCreators - A variable amount of additional identification lambdas.

Constructors

<init>

Entries(assertionCreator: Assert<T>.() -> Unit, vararg otherAssertionCreators: Assert<T>.() -> Unit)

Parameter object to express a GroupWithoutNullableEntries of identification lambdas.

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.

otherAssertionCreators

vararg val otherAssertionCreators: Array<Assert<T>.() -> Unit>

A variable amount of additional identification lambdas.

Functions

toList

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