Entries

class Entries<T : Any>(val assertionCreatorOrNull: Expect<T>.() -> Unit?, val otherAssertionCreatorsOrNulls: Expect<T>.() -> Unit?) : Group<Expect<T>.() -> Unit?> , VarArgHelper<Expect<T>.() -> Unit?> (source)

Parameter object to express a Group of identification lambdas.

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 creates. 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.

Constructors

Link copied to clipboard
constructor(assertionCreatorOrNull: Expect<T>.() -> Unit?, vararg otherAssertionCreatorsOrNulls: Expect<T>.() -> Unit?)

Properties

Link copied to clipboard
Link copied to clipboard
open override val expected: Expect<T>.() -> Unit?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val otherExpected: Array<out Expect<T>.() -> Unit?>

Functions

Link copied to clipboard
open override fun toList(): List<Expect<T>.() -> Unit?>