doc / ch.tutteli.atrium.assertions.charsequence.contains / CharSequenceContains / SearchBehaviour


interface SearchBehaviour : SearchBehaviour

Represents a search behaviour but leaves it up to the Searcher 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


abstract fun decorateDescription(description: Translatable): Translatable

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



open class CharSequenceContainsIgnoringCaseSearchBehaviour : SearchBehaviour

Represents the search behaviour that a CharSequenceContains.Searcher should ignore case when searching for an expected object.


open class CharSequenceContainsNoOpSearchBehaviour : SearchBehaviour

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