Basic assertion with (a possible lazy) message. Pay attention, it will throw an error if the value is falsy, even for 0, false, and empty strings. If these cases are not desired, use assertDefined or assertDefinedNotNull instead.
assertDefined
assertDefinedNotNull
Basic assertion with (a possible lazy) message. Pay attention, it will throw an error if the value is falsy, even for 0, false, and empty strings. If these cases are not desired, use
assertDefinedorassertDefinedNotNullinstead.