doc / ch.tutteli.atrium / isEmpty

isEmpty

fun <T : CharSequence> IAssertionPlant<T>.isEmpty(): IAssertionPlant<T> (source)

Makes the assertion that IAssertionPlant.subject.kotlin.text.isEmpty.

Exceptions

AssertionError - Might throw an AssertionError if the made assertion does not hold.

Return
This plant to support a fluent-style API.

fun <T : Collection<*>> IAssertionPlant<T>.isEmpty(): IAssertionPlant<T> (source)

Makes the assertion that IAssertionPlant.subject is an empty Collection.

Exceptions

AssertionError - Might throw an AssertionError if the made assertion does not hold.

Return
This plant to support a fluent-style API.