Package africa.absa.inception.test
Class Assert
java.lang.Object
africa.absa.inception.test.Assert
The Assert class provides additional assertions for JUnit tests.
- Author:
- Marcus Portmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertEqualsToMillisecond(LocalDateTime expected, LocalDateTime actual, String message) Asserts that two LocalDateTime values are equal.
-
Constructor Details
-
Assert
public Assert()
-
-
Method Details
-
assertEqualsToMillisecond
public static void assertEqualsToMillisecond(LocalDateTime expected, LocalDateTime actual, String message) Asserts that two LocalDateTime values are equal.- Parameters:
expected- the expected valueactual- the value to checkmessage- the for message for the AssertionError
-