doc / ch.tutteli.atrium.api.cc.infix.en_UK / atLeast

atLeast

infix fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> CharSequenceContains.Builder<T, S>.atLeast(times: Int): AtLeastCheckerOption<T, S> (source)
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

Restricts a contains assertion by specifying that the number of occurrences of the object which we are looking for, occurs at least number of times within the search input.

Parameters

times - The number which the check will compare against the actual number of times an expected object is found in the input of the search.

Exceptions

IllegalArgumentException - In case times is smaller than zero.

IllegalArgumentException - In case times equals to zero; use containsNot instead.

Return
The newly created builder.

fun <T : CharSequence, S : CharSequenceContains.SearchBehaviour> atLeast(builder: CharSequenceContainsBuilder<T, S>, times: Int): CharSequenceContainsAtLeastCheckerBuilder<T, S> (source)
Deprecated: Use the extension fun `atLeast` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0


fun <E, T : Iterable<E>> atLeast(builder: IterableContainsBuilder<E, T, InAnyOrderSearchBehaviour>, times: Int): IterableContainsAtLeastCheckerBuilder<E, T> (source)
Deprecated: Use the extension fun `atLeast` instead. This fun is only here to retain binary compatibility; will be removed with 1.0.0

infix fun <E, T : Iterable<E>, S : InAnyOrderSearchBehaviour> IterableContains.Builder<E, T, S>.atLeast(times: Int): AtLeastCheckerOption<E, T, S> (source)
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

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

Parameters

times - The number which the check will compare against the actual number of times an expected entry is found in the Iterable.

Exceptions

IllegalArgumentException - In case times is smaller than zero.

IllegalArgumentException - In case times equals to zero; use containsNot instead.

Return
The newly created builder.