class Entry<in T : Any> : GroupWithoutNullableEntries<(Assert<T>.() -> Unit)?>, GroupWithNullableEntries<(Assert<T>.() -> Unit)?>
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.
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.
Entry(assertionCreatorOrNull: (Assert<T>.() -> Unit)?)
Parameter object to express a Group with a single identification lambda. |
val assertionCreatorOrNull: (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.
In case it is defined as |
fun toList(): List<(Assert<T>.() -> Unit)?>
Returns the members of the group as List. |