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

<init>

AtMostCheckerOptionBase(times: Int, containsBuilder: Builder<E, T, S>, nameContainsNotFun: String, atMostCall: (Int) -> String, atLeastCall: (Int) -> String, exactlyCall: (Int) -> String)

The base class for builders which create a contains 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 CharSequence contains not assertion.

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

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

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

Constructor
The base class for builders which create a contains at most check within the fluent API of a sophisticated contains assertion for Iterable.