fun <E, T : Iterable<E>> Assert<T>.enthaeltStriktNullableWert(expectedOrNull: E): AssertionPlant<T>
(source)
Makes the assertion that AssertionPlant.subject (which has a nullable entry type) contains only the expected nullable value.
It is a shortcut for enthaelt.inGegebenerReihenfolge.nur.nullableWert(expectedOrNull, *otherExpected)
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
This plant to support a fluent API.