inline fun <reified T : Any> <ERROR CLASS><T?>.notToBeNull(): <ERROR CLASS><T> (source)
Expects that the subject of the assertion is not null and changes the subject to the non-nullable version.
It delegates to isA with T as type.
AssertionError - Might throw an AssertionError if the assertion made is not correct.
Return
An Expect with the non-nullable type T (was T? before).
inline fun <reified T : Any> <ERROR CLASS><T?>.notToBeNull(noinline assertionCreator: <ERROR CLASS><T>.() -> Unit): <ERROR CLASS><T> (source)
Expects that the subject of the assertion is not null and that it holds all assertions the given assertionCreator creates.
It delegates to isA with T as type.
AssertionError - Might throw an AssertionError if the assertion made is not correct.
Return
An Expect with the non-nullable type T (was T? before)