doc / ch.tutteli.atrium.domain.builders.utils / VarArgHelper

VarArgHelper

interface VarArgHelper<out T> (source)
Deprecated: Use VarArgHelper from atrium-logic; will be removed with 0.17.0

Represents a parameter object used to express the arguments T, vararg T and provides utility functions to transform them.

Properties

expected

abstract val expected: T

The first argument in the argument list T, vararg T

mapArguments

open val mapArguments: ArgumentMapperBuilder<T>

Creates an ArgumentMapperBuilder which allows to map expected and otherExpected.

otherExpected

abstract val otherExpected: Array<out T>

The second argument in the argument list T, vararg T

Functions

toList

open fun toList(): List<T>

Returns the arguments as List.