AtLeastChecker

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

Inheritors

Properties

Link copied to clipboard
abstract val atLeastCall: (Int) -> String

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

Link copied to clipboard

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

Link copied to clipboard
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.

Functions

Link copied to clipboard
abstract fun createAssertion(foundNumberOfTimes: Int): Assertion

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