doc / ch.tutteli.atrium.api.cc.en_GB / none

none

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

Makes the assertion that AssertionPlant.subject does not contain a single entry which holds all assertions created by the assertionCreator.

It is a shortcut for containsNot.entry(assertionCreator)

Exceptions

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

Return
This plant to support a fluent API.