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

IterableContains

interface IterableContains

Defines the contract for sophisticated Iterable contains assertions.

Types

Checker

interface Checker : Checker

Represents a check for the search result such as: the object is contained exactly once in the input of the search.

Creator

interface Creator<in T : Iterable<*>, in S> : Creator<T, S>

Represents the final step of a sophisticated contains assertion builder which creates the AssertionGroup as such.

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.