assertCallSame
public static T assertCallSame<T>(T expected, ObjectCallable<T> callable, Context context, PreCommentSupplier<? super ResultOfObject<T>> preCommentSupplier)(source)
Asserts that the given callable returns the given object.
Return
the result of the test
Parameters
expected
the expected object
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