doc / ch.tutteli.atrium.assertions.iterable.contains / IterableContains / SearchBehaviour

# SearchBehaviour

`interface SearchBehaviour : SearchBehaviour`

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

### Inherited Functions

 decorateDescription `abstract fun decorateDescription(description: Translatable): Translatable` Decorates the given description so that it represents the search behaviour and returns the result.

### Inheritors

 IterableContainsInAnyOrderOnlySearchBehaviour `open class IterableContainsInAnyOrderOnlySearchBehaviour : SearchBehaviour` 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 `open class IterableContainsInAnyOrderSearchBehaviour : SearchBehaviour` Represents the search behaviour that expected entries might appear in any order within the Iterable. 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. IterableContainsInOrderSearchBehaviour `open class IterableContainsInOrderSearchBehaviour : SearchBehaviour` Represents the search behaviour that expected entries have to appear in the given order within the Iterable. IterableContainsNoOpSearchBehaviour `open class IterableContainsNoOpSearchBehaviour : SearchBehaviour` Represents the default search behaviour or rather does not define a search behaviour at all.