doc / ch.tutteli.atrium.domain.creating / IteratorAssertions

IteratorAssertions

interface IteratorAssertions
Deprecated: Use IteratorAssertions from atrium-logic; will be removed with 1.0.0

Defines the minimum set of assertion functions and builders applicable to Iterator, which an implementation of the domain of Atrium has to provide.

Functions

hasNext

abstract fun <E, T : Iterator<E>> hasNext(expect: Expect<T>): Assertion

hasNotNext

abstract fun <E, T : Iterator<E>> hasNotNext(expect: Expect<T>): Assertion

Inheritors

IteratorAssertionsBuilder

object IteratorAssertionsBuilder : IteratorAssertions

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