doc / ch.tutteli.atrium.api.cc.en_GB / notToBeNullBut

notToBeNullBut

fun <T : BigDecimal> AssertionPlantNullable<T?>.notToBeNullBut(expected: T): Nothing (source)
Deprecated: Use `notToBeNullBut { isNumericallyEqualTo(...) }` if you expect that the following assertion holds:\n`assert(BigDecimal(\"10\").toBe(BigDecimal(\"10.0\"))`\nHowever, if you expect it to be wrong (because `BigDecimal.scale` differ), then use `notToBeNullBut { isEqualIncludingScale(...) }`.