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

NotCheckerOptionBase

abstract class NotCheckerOptionBase<out E, out T : Iterable<E>, out S> (source)

The base class for builders which create a contains not 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>

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

Properties

checkers

open val checkers: <ERROR CLASS>

containsBuilder

open val containsBuilder: <ERROR CLASS><E, T, S>

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.