doc / ch.tutteli.atrium.logic.creating.iterable.contains / IterableLikeContains / Checker

Checker

interface Checker : Contains.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.

Inherited 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

AtLeastChecker

interface AtLeastChecker : AtLeastChecker, IterableLikeContains.Checker

Represents a check that an expected search criterion is contained at least times in the search input.

AtMostChecker

interface AtMostChecker : AtMostChecker, IterableLikeContains.Checker

Represents a check that an expected search criterion is contained at most times in the search input.

ExactlyChecker

interface ExactlyChecker : ExactlyChecker, IterableLikeContains.Checker

Represents a check that an expected search criterion is contained exactly times in the search input.

NotChecker

interface NotChecker : NotChecker, IterableLikeContains.Checker

Represents a check that an expected search criterion is not contained in the search input.