doc / ch.tutteli.atrium.domain.creating.basic.contains / Contains / Checker

Checker

interface Checker (source)

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

It provides the method createAssertion which creates an Assertion representing this check.

Functions

createAssertion

abstract fun createAssertion(foundNumberOfTimes: Int): Assertion

Creates an Assertion representing this check based on the given foundNumberOfTimes which is the result of the search.

Inheritors

Checker

interface Checker : Checker

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.

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.