doc / ch.tutteli.atrium.api.cc.de_CH.assertions.iterable.contains.builders / IterableContainsAtMostCheckerBuilder / <init>

<init>

IterableContainsAtMostCheckerBuilder(times: Int, containsBuilder: IterableContainsBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>)

Represents the builder of a contains at least once 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 IterableContainsBuilder.

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