Top Description Constructors Methods
org.junit.jupiter.api

pack-priv Class AssertNotSame

extends Object
Class Inheritance
Static Imports
org.junit.jupiter.api.AssertionFailureBuilder.assertionFailure

AssertNotSame is a collection of utility methods that support asserting two objects are not the same.
Since
5.0

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
pack-priv static void
pack-priv static void
assertNotSame(@Nullable Object unexpected, @Nullable Object actual, Supplier<@Nullable String> messageSupplier)

private static void
failSame(@Nullable Object actual, @Nullable Object messageOrSupplier)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AssertNotSameback to summary
private AssertNotSame()

Method Detail

assertNotSameback to summary
pack-priv static void assertNotSame(@Nullable Object unexpected, @Nullable Object actual)
assertNotSameback to summary
pack-priv static void assertNotSame(@Nullable Object unexpected, @Nullable Object actual, @Nullable String message)
assertNotSameback to summary
pack-priv static void assertNotSame(@Nullable Object unexpected, @Nullable Object actual, Supplier<@Nullable String> messageSupplier)
failSameback to summary
private static void failSame(@Nullable Object actual, @Nullable Object messageOrSupplier)