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

<init>

ExactlyCheckerOptionBase(times: Int, containsBuilder: CharSequenceContains.Builder<T, S>, nameContainsNotFun: String, exactlyCall: (Int) -> String)

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

exactlyCall - The function call which should not be used if times equals to zero.

Constructor
The base class for builders which create a contains exactly check within the fluent API of a sophisticated contains assertion for CharSequence.