doc / ch.tutteli.atrium.api.cc.de_CH / Eintrag

Eintrag

class Eintrag<in T : Any> : GroupWithoutNullableEntries<((Assert<T>) -> Unit)?>, GroupWithNullableEntries<((Assert<T>) -> Unit)?> (source)
Deprecated: api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0

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

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

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 or if it is null in case assertionCreator is defined as null.

Constructors

<init>

Eintrag(assertionCreator: ((Assert<T>) -> Unit)?)

Parameter object to express a Group 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 or if it is null in case assertionCreator is defined as null.

Functions

toList

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

Returns the members of the group as List.