atrium-api-cc-infix-en_UK / ch.tutteli.atrium.api.cc.infix.en_UK / ch.tutteli.atrium.creating.AssertionPlantNullable / toBe

toBe

infix fun <T> AssertionPlantNullable<T>.toBe(onlyNullAllowed: Nothing?): Unit

Makes the assertion that AssertionPlant.subject is null.

Parameters

onlyNullAllowed - Has to be null.

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?