doc / ch.tutteli.atrium.domain.builders.creating / ListAssertionsBuilder

ListAssertionsBuilder

object ListAssertionsBuilder : ListAssertions

Delegates inter alia to the implementation of ListAssertions. In detail, it implements ListAssertions by delegating to listAssertions which in turn delegates to the implementation via loadSingleService.

Functions

get

fun <E, T : List<E>> get(expect: Expect<T>, index: Int): ExtractedFeaturePostStep<T, E>
fun <T : Any> get(plant: AssertionPlant<List<T>>, index: Int): AssertionPlant<T>
fun <T : Any> get(plant: AssertionPlant<List<T>>, index: Int, assertionCreator: AssertionPlant<T>.() -> Unit): Assertion

getNullable

fun <T> getNullable(plant: AssertionPlant<List<T>>, index: Int): AssertionPlantNullable<T>
fun <T> getNullable(plant: AssertionPlant<List<T>>, index: Int, assertionCreator: AssertionPlantNullable<T>.() -> Unit): Assertion