assertCallNotSame

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

Asserts that the given callable does not return the given object.

Return

the result of the test

Parameters

unexpected

the unexpected 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