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

Value

data class Value<out T> : GroupWithNullableEntries<T>, GroupWithoutNullableEntries<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 with a single value.

Constructors

<init>

Value(expected: T)

Represents a Group with a single value.

Properties

expected

val expected: T

Functions

toList

fun toList(): List<T>

Returns the members of the group as List.