doc / ch.tutteli.atrium.logic.creating.charsequence.contains / CharSequenceContains / Checker

Checker

interface Checker : Contains.Checker

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, CharSequenceContains.Checker

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

AtMostChecker

interface AtMostChecker : AtMostChecker, CharSequenceContains.Checker

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

ExactlyChecker

interface ExactlyChecker : ExactlyChecker, CharSequenceContains.Checker

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

NotChecker

interface NotChecker : CharSequenceContains.Checker

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

NotChecker

interface NotChecker : NotChecker, CharSequenceContains.Checker

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