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

irgendEiner

fun <E : Any, T : Iterable<E>> Assert<T>.irgendEiner(assertionCreator: Assert<E>.() -> Unit): AssertionPlant<T> (source)

Makes the assertion that AssertionPlant.subject contains an entry holding the assertions created by the assertionCreator.

It is a shortcut for enthaelt.inBeliebigerReihenfolge.zumindest(1).eintrag(assertionCreator)

Exceptions

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

Return
This plant to support a fluent API.