doc / ch.tutteli.atrium.api.cc.de_CH / eintrag

eintrag

fun <E : Any, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.eintrag(assertionCreator: IAssertionPlant<E>.() -> Unit): IAssertionPlant<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.

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.

Exceptions

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

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