assertCallNotNull

public static T assertCallNotNull<T>(ObjectCallable<T> callable, Context context, PreCommentSupplier<? super ResultOfObject<T>> preCommentSupplier)(source)

Asserts that the callable returns an object.

Return

the result of the test

Parameters

callable

the callable to retrieve the object from

context

the context of the test

preCommentSupplier

the supplier of the pre-comment

<T>

the type of the object