interface CollectionAssertions
(source)
Defines the minimum set of assertion functions and builders applicable to Collection, which an implementation of the domain of Atrium has to provide.
abstract fun <T : Collection<*>> hasSize(plant: AssertionPlant<T>, size: Int): Assertion |
|
abstract fun <T : Collection<*>> isEmpty(plant: AssertionPlant<T>): Assertion |
|
abstract fun <T : Collection<*>> isNotEmpty(plant: AssertionPlant<T>): Assertion |
object CollectionAssertionsBuilder : CollectionAssertions
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 ServiceLoader. |