atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.utils / GroupWithNullableEntries

GroupWithNullableEntries

interface GroupWithNullableEntries<out T> : Group<T> (source)
Deprecated: Use super-type Group instead; will be removed with 1.0.0

Represents a group of T (where T: Any?) which can be converted to a List<T>

Inherited Functions

toList

abstract fun toList(): List<T>

Returns the members of the group as List.

Extension Functions

asExpect

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.