doc / ch.tutteli.atrium.api.cc.en_UK / nullableValue

nullableValue

fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableValue(expected: E): AssertionPlant<T>
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

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

Delegates to nullableValues(expected).

Parameters

expected - The 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>> IterableContains.Builder<E, T, InAnyOrderOnlySearchBehaviour>.nullableValue(expected: E): AssertionPlant<T>
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0


fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.nullableValue(expected: E): AssertionPlant<T>
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

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

Delegates to nullableValues(expected).

Parameters

expected - The 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.