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

Values

class Values<out T> : GroupWithoutNullableEntries<T>, GroupWithNullableEntries<T>, VarArgHelper<T>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Represents a Group of multiple values.

Constructors

<init>

Values(expected: T, vararg otherExpected: T)

Represents a Group of multiple values.

Properties

expected

val expected: T

The first argument in the argument list T, vararg T

otherExpected

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