doc / ch.tutteli.atrium.api.fluent.en_GB / isEmpty

isEmpty

fun <T : CharSequence> Expect<T>.isEmpty(): Expect<T> (source)
Deprecated: Use toBeEmpty; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a CharSequence) CharSequence.kotlin.text.isEmpty.

expect("").isEmpty()

fails {
    expect("XYZ").isEmpty()
}

Return
an Expect for the subject of this expectation.