doc / ch.tutteli.atrium.api.cc.de_CH / nullableWert

nullableWert

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableWert(expectedOrNull: E): AssertionPlant<T> (source)

Finishes the specification of the sophisticated contains assertion where the expected nullable value shall be searched within the Iterable.

Delegates to nullableWerte(expectedOrNull).

Parameters

expectedOrNull - The nullable value which is expected to be contained within the Iterable.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
The AssertionPlant for which the assertion was built to support a fluent API.

fun <E, T : Iterable<E>> Builder<E, T, InAnyOrderOnlySearchBehaviour>.nullableWert(expectedOrNull: E): AssertionPlant<T> (source)

Finishes the specification of the sophisticated contains assertion where the Iterable needs to contain only the expected nullable value.

Delegates to nullableWerte(expectedOrNull).

Parameters

expectedOrNull - The nullable value which is expectedOrNull to be contained within the Iterable.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
The AssertionPlant for which the assertion was built to support a fluent API.

fun <E, T : Iterable<E>> Builder<E, T, InOrderOnlySearchBehaviour>.nullableWert(expectedOrNull: E): AssertionPlant<T> (source)

Finishes the specification of the sophisticated contains assertion where the Iterable needs to contain only the expected nullable value.

Delegate to nullableWerte(expectedOrNull).

Parameters

expectedOrNull - The nullable value which is expectedOrNull to be contained within the Iterable.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
The AssertionPlant for which the assertion was built to support a fluent API.