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)
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
This plant to support a fluent API.