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

<init>

ButAtMostCheckerOptionBase(times: Int, atLeastBuilder: WithTimesCheckerOption<E, T, S>, containsBuilder: IterableContains.Builder<E, 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 Iterable.

Parameters

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

containsBuilder - The previously used IterableContains.Builder.

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

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

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

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

exactlyCall - The name of the function which represents a Iterable 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 Iterable.