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

<init>

AtMostCheckerOptionBase(times: Int, containsBuilder: CharSequenceContains.Builder<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 CharSequence.

Parameters

times - The number which the check will compare against the actual number of times an expected object is found in the input of the search.

containsBuilder - The previously used CharSequenceContains.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 CharSequence.