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

CollectionAssertionsBuilder

object CollectionAssertionsBuilder : CollectionAssertions (source)

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

Functions

hasSize

fun hasSize(plant: AssertionPlant<Collection<*>>, size: Int): <ERROR CLASS>

isEmpty

fun isEmpty(plant: AssertionPlant<Collection<*>>): <ERROR CLASS>

isNotEmpty

fun isNotEmpty(plant: AssertionPlant<Collection<*>>): <ERROR CLASS>

size

fun size(plant: AssertionPlant<Collection<*>>, assertionCreator: Assert<Int>.() -> Unit): <ERROR CLASS>