interface Contains
Defines the basic contract for sophisticated contains
assertion builders.
A builder typically allows a user to choose a desired SearchBehaviour, one or more Checkers and uses an Creator to finish the building process.
interface Checker
Represents a check for the search result such as: the object is contained exactly once in the input of the search. |
|
interface Creator<in T : Any, in S>
Represents the final step of a sophisticated |
|
interface 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. |