interface WithTimesChecker : Contains.Checker
Represents a checker which is based on the number of times a search criterion is found within the search input.
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. |
abstract fun createAssertion(foundNumberOfTimes: Int): Assertion
Creates an Assertion representing this check based on the given foundNumberOfTimes which is the result of the search. |
interface AtLeastChecker : WithTimesChecker
Represents a check that an expected search criterion is contained at least times in the search input. |
|
interface AtMostChecker : WithTimesChecker
Represents a check that an expected search criterion is contained at most times in the search input. |
|
interface ExactlyChecker : WithTimesChecker
Represents a check that an expected search criterion is contained exactly times in the search input. |