doc / ch.tutteli.atrium.assertions.iterable.contains.searchbehaviours / IterableContainsInOrderOnlySearchBehaviour

IterableContainsInOrderOnlySearchBehaviour

open class IterableContainsInOrderOnlySearchBehaviour : SearchBehaviour

Represents the search behaviour that expected entries have to appear in the given order within the Iterable and that the resulting assertion should not hold if there are less entries than expected or more.

Constructors

<init>

IterableContainsInOrderOnlySearchBehaviour()

Represents the search behaviour that expected entries have to appear in the given order within the Iterable and that the resulting assertion should not hold if there are less entries than expected or more.

Functions

decorateDescription

open fun decorateDescription(description: Translatable): Translatable

Decorates the given description so that it represents the search behaviour and returns the result.