doc / ch.tutteli.atrium.logic / CollectionLikeAssertions

CollectionLikeAssertions

interface CollectionLikeAssertions

Collection of assertion functions and builders which are applicable to subjects which can be transformed to a Collection - intended for types which are Collection like such as Map.

Functions

isEmpty

abstract fun <T> isEmpty(container: AssertionContainer<T>, converter: (T) -> Collection<*>): Assertion

isNotEmpty

abstract fun <T> isNotEmpty(container: AssertionContainer<T>, converter: (T) -> Collection<*>): Assertion

size

abstract fun <T> size(container: AssertionContainer<T>, converter: (T) -> Collection<*>): FeatureExtractorBuilder.ExecutionStep<T, Int>

Inheritors

DefaultCollectionLikeAssertions

class DefaultCollectionLikeAssertions : CollectionLikeAssertions