doc / ch.tutteli.atrium.assertions.iterable.contains / IIterableContains / ISearchBehaviour

ISearchBehaviour

interface ISearchBehaviour : ISearchBehaviour

Represents a search behaviour but leaves it up to the ICreator how this behaviour is implemented -- yet, it provides a method to decorate a description (an ITranslatable) in order that it reflects the search behaviour.

Inherited Functions

decorateDescription

abstract fun decorateDescription(description: ITranslatable): ITranslatable

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

Inheritors

IterableContainsInAnyOrderOnlySearchBehaviour

object IterableContainsInAnyOrderOnlySearchBehaviour : ISearchBehaviour

Represents the search behaviour that expected entries might appear in any order within the Iterable but that the resulting assertion should not hold if there are less entries than expected or more.

IterableContainsInAnyOrderSearchBehaviour

object IterableContainsInAnyOrderSearchBehaviour : ISearchBehaviour

Represents the search behaviour that expected entries might appear in any order within the Iterable.

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.

IterableContainsInOrderSearchBehaviour

object IterableContainsInOrderSearchBehaviour : ISearchBehaviour

Represents the search behaviour that expected entries have to appear in the given order within the Iterable.

IterableContainsNoOpSearchBehaviour

object IterableContainsNoOpSearchBehaviour : ISearchBehaviour

Represents the default search behaviour or rather does not define a search behaviour at all.