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

WithTimesCheckerOption

interface WithTimesCheckerOption<out E, out T : Iterable<E>, out S> (source)

A IterableContains.CheckerOption which is used to choose a IterableContains.Checker which is based on a number of times.

Properties

times

abstract val times: Int

Extension Functions

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.

Inheritors

AtLeastCheckerOptionBase

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

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

AtMostCheckerOptionBase

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

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

ButAtMostCheckerOptionBase

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

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.

ExactlyCheckerOptionBase

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

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

NotOrAtMostCheckerOptionBase

abstract class NotOrAtMostCheckerOptionBase<out E, out T : Iterable<E>, out S> : 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.