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

enthaeltNullableWert

fun <E, T : Iterable<E>> Assert<T>.enthaeltNullableWert(expectedOrNull: E): AssertionPlant<T> (source)

Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains the expected nullable value.

It is a shortcut for enthaelt.inBeliebigerReihenfolge.zumindest(1).nullableWert(expectedOrNull)

Exceptions

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

Return
This plant to support a fluent API.