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

IterableContains

interface IterableContains (source)
Deprecated: Use the interface from package domain.creating; will be removed with 1.0.0

Defines the deprecated contract for sophisticated Iterable contains assertions.

Types

Checker

interface Checker : Contains.Checker, IterableContains.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> : Contains.Creator<T, S>, IterableContains.Creator<T, S>

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

SearchBehaviour

interface SearchBehaviour : Contains.SearchBehaviour, IterableContains.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.