interface OptionalAssertions
Defines the minimum set of assertion functions and builders applicable to Optional, which an implementation of the domain of Atrium has to provide.
abstract fun <T : Optional<*>> isEmpty(expect: Expect<T>): Assertion |
|
abstract fun <E, T : Optional<E>> isPresent(expect: Expect<T>): ExtractedFeaturePostStep<T, E> |
object OptionalAssertionsBuilder : OptionalAssertions
Delegates inter alia to the implementation of OptionalAssertions. In detail, it implements OptionalAssertions by delegating to optionalAssertions which in turn delegates to the implementation via loadSingleService. |