doc / ch.tutteli.atrium.logic.creating.basic.contains.checkers / AtMostChecker

AtMostChecker

interface AtMostChecker : WithTimesChecker (source)

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

Properties

atMostCall

abstract val atMostCall: (Int) -> String

The function which was used and should not be used if times is zero.

nameContainsNotFun

abstract val nameContainsNotFun: String

The function which should be used instead of atMostCall when times is zero.

Inherited Properties

times

abstract val times: Int

The number which the check uses to compare against the actual number of times an expected search criterion is found in the search input.

Inheritors

AtMostChecker

interface AtMostChecker : AtMostChecker, CharSequenceContains.Checker

Represents a check that an expected search criterion is contained at most 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.

AtMostChecker

interface AtMostChecker : AtMostChecker, MapLikeContains.Checker

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