assertCallEquals

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

Asserts that the callable returns an object equal to the given expected 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