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

ExactlyChecker

interface ExactlyChecker : WithTimesChecker (source)

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

Properties

exactlyCall

abstract val exactlyCall: (Int) -> String

The function call 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 exactlyCall 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

ExactlyChecker

interface ExactlyChecker : ExactlyChecker, CharSequenceContains.Checker

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

ExactlyChecker

interface ExactlyChecker : ExactlyChecker, MapLikeContains.Checker

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