atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating.iterable.contains.builders / NotOrAtMostCheckerOptionBase

NotOrAtMostCheckerOptionBase

abstract class NotOrAtMostCheckerOptionBase<out E, out T : Iterable<E>, out S : SearchBehaviour> : WithTimesCheckerOption<E, T, S>

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

Parameters

T - The input type of the search.

S - The search behaviour which should be applied for the input of the search.

Constructors

<init>

NotOrAtMostCheckerOptionBase(times: Int, containsBuilder: 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.

Properties

checkers

open val checkers: List<Checker>

containsBuilder

val containsBuilder: Builder<E, T, S>

The previously used IterableContains.Builder.

times

val times: Int

The number which the check will compare against the actual number of times an expected entry is found in the Iterable.