assertNotNull
public static T assertNotNull<T>(T actual, Context context, PreCommentSupplier<? super ResultOfObject<T>> preCommentSupplier)(source)
Asserts that the given actual object is not null.
Return
the result of the test
Parameters
actual
the actual object
context
the context of the test
preCommentSupplier
the supplier of the pre-comment
<T>
the type of the object