atrium-api-infix-en_GB-jvm / ch.tutteli.atrium.api.infix.en_GB / ch.tutteli.atrium.creating.Expect / notToBe

notToBe

infix fun <T : Collection<*>> Expect<T>.notToBe(Empty: Empty): Expect<T> (source)

Expects that the subject of the assertion (a Collection) is not an empty Collection.

Exceptions

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

Return
This assertion container to support a fluent API.