atrium-api-cc-de_CH / ch.tutteli.atrium.api.cc.de_CH / ch.tutteli.atrium.assertions.iterable.contains.builders.IterableContainsCheckerBuilder / eintrag

eintrag

fun <E : Any, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.eintrag(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create.

Delegates to eintraege(assertionCreator).

Parameters

assertionCreator - The lambda function which creates the assertions which the entry we are looking for has to hold; or in other words, the function which defines whether an entry is the one we are looking for or not.

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.