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 voidassertSame(Object expected, Object actual) (package private) static voidassertSame(Object expected, Object actual, String message) (package private) static voidassertSame(Object expected, Object actual, Supplier<String> messageSupplier) private static voidfailNotSame(Object expected, Object actual, Object messageOrSupplier)
-
Constructor Details
-
AssertSame
private AssertSame()
-
-
Method Details
-
assertSame
-
assertSame
-
assertSame
-
failNotSame
-