doc / ch.tutteli.atrium.api.infix.en_GB.creating / Values

Values

class Values<out T> : GroupWithoutNullableEntries<T>, GroupWithNullableEntries<T>, VarArgHelper<T>

Represents a Group of multiple values.

Use the function values(t, ...) to create this representation.

Note, Values will be made invariant once Kotlin 1.4 is out and Atrium depends on it (most likely with 1.0.0)

Properties

expected

val expected: T

The first argument in the argument list T, vararg T

otherExpected

val otherExpected: Array<out T>

The second argument in the argument list T, vararg T

Inherited Properties

mapArguments

open val mapArguments: ArgumentMapperBuilder<T>

Creates an ArgumentMapperBuilder which allows to map expected and otherExpected.

Functions

toList

fun toList(): List<T>

Returns the members of the group as List.