class NullableEntries<in T : Any> : GroupWithNullableEntries<Assert<T>.() -> Unit>
(source)
Parameter object to express a GroupWithNullableEntries of nullable 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.
assertionCreatorOrNull
- 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
assertionCreatorOrNull is defined as null
.
otherAssertionCreatorsOrNulls
- A variable amount of additional identification lambdas or null
s.
NullableEntries(assertionCreatorOrNull: Assert<T>.() -> Unit, vararg otherAssertionCreatorsOrNulls: Assert<T>.() -> Unit)
Parameter object to express a GroupWithNullableEntries of nullable identification lambdas. |
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 or if it is |
|
vararg val otherAssertionCreatorsOrNulls: Array<Assert<T>.() -> Unit>
A variable amount of additional identification lambdas or |
fun toList(): List<Assert<T>.() -> Unit> |