doc / ch.tutteli.atrium.logic / OptionalAssertions

OptionalAssertions

interface OptionalAssertions

Collection of assertion functions and builders which are applicable to subjects with an Optional type.

Functions

isEmpty

abstract fun <T : Optional<*>> isEmpty(container: AssertionContainer<T>): Assertion

isPresent

abstract fun <E, T : Optional<E>> isPresent(container: AssertionContainer<T>): FeatureExtractorBuilder.ExecutionStep<T, E>

Inheritors

DefaultOptionalAssertions

class DefaultOptionalAssertions : OptionalAssertions