atrium-api-cc-en_GB-jvm / ch.tutteli.atrium.api.cc.en_GB.creating.iterable.contains.builders / AtLeastCheckerOption

AtLeastCheckerOption

interface AtLeastCheckerOption<out E, out T : Iterable<E>, out S>
Deprecated: Switch from api-cc-en_GB to api-fluent-en_GB; will be removed with 1.0.0

Represents the extension point for another option after a contains at least-check within a sophisticated contains assertion building process for Iterable.

Parameters

T - The input type of the search.

S - The search behaviour which should be applied for the input of the search.

Extension Functions

butAtMost

fun <E, T : Iterable<E>, S> AtLeastCheckerOption<E, T, S>.butAtMost(times: Int): ButAtMostCheckerOption<E, T, S>

Restricts a contains at least assertion by specifying that the number of occurrences of the entry which we are looking for occurs at most number of times within the Iterable.