fun <E : Any, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.entry(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 entries.
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.
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.