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

NotCheckerOptionBase

abstract class NotCheckerOptionBase<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

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

Parameters

T - The input type of the search.

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

Constructors

<init>

NotCheckerOptionBase(containsBuilder: Builder<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.

Properties

checkers

open val checkers: List<Checker>

containsBuilder

open val containsBuilder: Builder<T, S>

Extension Functions

addAssertion

fun <T : Any, B : Builder<T, *>> CheckerOption<T, *, *, B>.addAssertion(assertion: Assertion): Expect<T>

Helper method which simplifies adding assertions to the assertion container which itself is stored in Contains.CheckerOption.containsBuilder.

addAssertionForAssert

fun <T : Any, B : Builder<T, *>> CheckerOption<T, *, *, B>.addAssertionForAssert(assertion: Assertion): Assert<T>

Helper method which simplifies adding assertions to the assertion container which itself is stored in Contains.CheckerOption.containsBuilder.