assertNotSame

public static T assertNotSame<T>(T unexpected, T actual, Context context, PreCommentSupplier<? super ResultOfObject<T>> preCommentSupplier)(source)

Asserts that the given actual object is not the same as the given unexpected object.

Return

the result of the test

Parameters

unexpected

the unexpected object

actual

the actual object

context

the context of the test

<T>

the type of the object