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

IterableContainsInOrderOnlySearchBehaviour

object IterableContainsInOrderOnlySearchBehaviour : ISearchBehaviour

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

fun decorateDescription(description: ITranslatable): ITranslatable

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