Package org.junit.jupiter.api
Class AssertSame
java.lang.Object
org.junit.jupiter.api.AssertSame
AssertSame
is a collection of utility methods that support asserting
two objects are the same.- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static void
assertSame
(Object expected, Object actual) (package private) static void
assertSame
(Object expected, Object actual, String message) (package private) static void
assertSame
(Object expected, Object actual, Supplier<String> messageSupplier) private static void
failNotSame
(Object expected, Object actual, String message)
-
Constructor Details
-
AssertSame
private AssertSame()
-
-
Method Details
-
assertSame
-
assertSame
-
assertSame
-
failNotSame
-