doc / ch.tutteli.atrium.api.cc.infix.en_GB / Entries / <init>

<init>

Entries(assertionCreatorOrNull: (Assert<T>.() -> Unit)?, vararg otherAssertionCreatorsOrNulls: (Assert<T>.() -> Unit)?)

Parameter object to express a Group of identification lambdas.

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

In case null is used for an identification lambda then it is expected that the corresponding entry is null as well.

Parameters

assertionCreatorOrNull - The identification lambda identifying the entry where an entry is considered to be identified if it holds all Assertions the lambda might create. In case it is defined as null, then an entry is identified if it is null as well.

otherAssertionCreatorsOrNulls - A variable amount of additional identification lambdas or nulls.