doc / ch.tutteli.atrium.assertions.iterable.contains.builders / IterableContainsButAtMostCheckerBuilderBase

IterableContainsButAtMostCheckerBuilderBase

abstract class IterableContainsButAtMostCheckerBuilderBase<out E, out T : Iterable<E>, out S : IterableContains.SearchBehaviour> : IterableContainsCheckerBuilder<E, T, S>
Deprecated: Use the abstract class from package creating; will be removed with 1.0.0

The base class for builders which create the second step of a contains at least but 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 to the input of the search.

Constructors

<init>

IterableContainsButAtMostCheckerBuilderBase(times: Int, atLeastBuilder: IterableContainsAtLeastCheckerBuilderBase<E, T, S>, containsBuilder: IterableContainsBuilder<E, T, S>, nameContainsNotFun: String, atLeastButAtMostCall: (Int, Int) -> String, atMostCall: (Int) -> String, atLeastCall: (Int) -> String, butAtMostCall: (Int) -> String, exactlyCall: (Int) -> String)

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

Properties

checkers

open val checkers: List<IterableContains.Checker>

containsBuilder

open val containsBuilder: IterableContainsBuilder<E, T, S>

The previously used IterableContainsBuilder.

times

val times: Int

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