assertCallNotEquals

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

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