atrium-api-cc-infix-en_UK / ch.tutteli.atrium.api.cc.infix.en_UK / ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder / value

value

infix fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.value(expected: E): AssertionPlant<T>

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

Delegates to the Objects(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.