doc / ch.tutteli.atrium.domain.builders.creating.charsequence.contains.builders / ButAtMostCheckerOptionBase / <init>

<init>

ButAtMostCheckerOptionBase(times: Int, atLeastBuilder: WithTimesCheckerOption<T, S>, containsBuilder: Builder<T, S>, nameContainsNotFun: String, atLeastButAtMostCall: (Int, Int) -> String, atMostCall: (Int) -> String, atLeastCall: (Int) -> String, butAtMostCall: (Int) -> String, exactlyCall: (Int) -> String)

The base class for builders which create the second step of a contains at least but at most check within the fluent API of a sophisticated contains assertion for CharSequence.

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.

containsBuilder - The previously used CharSequenceContains.Builder.

nameContainsNotFun - The name of the function which represents a CharSequence contains not assertion.

atMostCall - The name of the function which represents a CharSequence contains at most assertion.

atLeastCall - The name of the function which represents a CharSequence contains at least assertion.

butAtMostCall - The name of the function which was called and created this builder.

exactlyCall - The name of the function which represents a CharSequence contains exactly assertion.

Constructor
The base class for builders which create the second step of a contains at least but at most check within the fluent API of a sophisticated contains assertion for CharSequence.