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

<init>

NotOrAtMostCheckerOptionBase(times: Int, containsBuilder: IterableContains.Builder<E, T, S>, nameContainsNotFun: String, notOrAtMostCall: (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.

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

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