fun <E, T : Iterable<E>> IterableContains.CheckerOption<E, T, InAnyOrderSearchBehaviour>.nullableValue(expected: E): AssertionPlant<T>
(source)Finishes the specification of the sophisticated contains
assertion where the expected value shall be searched
within the Iterable.
Delegates to nullableValues(expected)
.
expected
- The value which is expected to be contained within the Iterable.
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>
(source)fun <E, T : Iterable<E>> IterableContains.Builder<E, T, InOrderOnlySearchBehaviour>.nullableValue(expected: E): AssertionPlant<T>
(source)Finishes the specification of the sophisticated contains
assertion where the Iterable needs to contain only the
expected value.
Delegates to nullableValues(expected)
.
expected
- The value which is expected to be contained within the Iterable.
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.