doc / ch.tutteli.atrium.api.cc.de_CH.assertions.charsequence.contains.builders / CharSequenceContainsAtLeastCheckerBuilder

CharSequenceContainsAtLeastCheckerBuilder

open class CharSequenceContainsAtLeastCheckerBuilder<out T : CharSequence, out S : SearchBehaviour> : CharSequenceContainsAtLeastCheckerBuilderBase<T, S>

Represents the builder of a contains at least check within the fluent API of a sophisticated contains assertion for CharSequence.

Parameters

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

Constructors

<init>

CharSequenceContainsAtLeastCheckerBuilder(times: Int, containsBuilder: CharSequenceContainsBuilder<T, S>)

Represents the builder of a contains at least check within the fluent API of a sophisticated contains assertion for CharSequence.

Inherited Properties

checkers

open val checkers: List<Checker>

Contains all Checkers which should be applied to the search result.

times

val times: Int

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

Extension Functions

aberHoechstens

fun <T : CharSequence, S : SearchBehaviour> CharSequenceContainsAtLeastCheckerBuilder<T, S>.aberHoechstens(times: Int): CharSequenceContainsButAtMostCheckerBuilder<T, S>

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