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

WithTimesCheckerOption

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

A CharSequenceContains.CheckerOption which is used to choose a CharSequenceContains.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 T : CharSequence, out S> : WithTimesCheckerOption<T, S>

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

AtMostCheckerOptionBase

abstract class AtMostCheckerOptionBase<out T : CharSequence, out S> : WithTimesCheckerOption<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 CharSequence.

ButAtMostCheckerOptionBase

abstract class ButAtMostCheckerOptionBase<out T : CharSequence, out S> : WithTimesCheckerOption<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 CharSequence.

ExactlyCheckerOptionBase

abstract class ExactlyCheckerOptionBase<out T : CharSequence, out S> : WithTimesCheckerOption<T, S>

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

NotOrAtMostCheckerOptionBase

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