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

IterableContainsInOrderOnlySearchBehaviour

open class IterableContainsInOrderOnlySearchBehaviour : IterableContains.SearchBehaviour, InOrderOnlySearchBehaviour
Deprecated: Use the interface InOrderOnlySearchBehaviour instead; will be removed with 1.0.0

Represents the deprecated 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 deprecated 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.