doc / ch.tutteli.atrium.api.cc.en_UK.assertions.iterable.contains.builders / IterableContainsButAtMostCheckerBuilder / <init>

<init>

IterableContainsButAtMostCheckerBuilder(times: Int, atLeastBuilder: IterableContainsAtLeastCheckerBuilder<E, T>, containsBuilder: IterableContains.Builder<E, T, InAnyOrderSearchBehaviour>)

Represents the builder of 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.

Constructor
Represents the builder of the second step of a contains at least but at most check within the fluent API of a sophisticated contains assertion for Iterable.