atrium-api-cc-en_GB-jvm / ch.tutteli.atrium.api.cc.en_GB / ch.tutteli.atrium.creating.AssertionPlantNullable / toBe

toBe

inline fun <reified T : Any> AssertionPlantNullable<T?>.toBe(expected: T?): Unit
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0

Makes the assertion that the Assert.subject is expected.

Exceptions

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

Return
Does not support a fluent API because: what else would you want to assert about null anyway?