interface VarArgHelper<out T> (source)
Represents a parameter object used to express the arguments T, vararg T
and provides utility functions to transform them.
abstract val expected: T
The first argument in the argument list |
|
open val mapArguments: ArgumentMapperBuilder<T>
Creates an ArgumentMapperBuilder which allows to map expected and otherExpected. |
|
abstract val otherExpected: Array<out T>
The second argument in the argument list |
open fun toList(): List<T>
Returns the arguments as List. |
fun <T, A> A.asExpect(): <ERROR CLASS><T>fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A
Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable. |