atrium-api-fluent-en_GB-jvm / ch.tutteli.atrium.api.fluent.en_GB / ch.tutteli.atrium.domain.creating.iterable.contains.IterableContains.CheckerOption / value

value

fun <E, T : Iterable<E>> CheckerOption<E, T, InAnyOrderSearchBehaviour>.value(expected: E): Expect<T>

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

Delegates to values.

Parameters

expected - The value which is expected to be contained within this Iterable.

Exceptions

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

Return
The Expect for which the assertion was built to support a fluent API.