Package org.assertj.core.error
Class ShouldBeAtSameInstant
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldBeAtSameInstant
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that two
OffsetDateTimes
have the same Instant, failed.- Author:
- Raymond Pressly
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactoryshouldBeAtSameInstant(OffsetDateTime actual, OffsetDateTime other) Creates a new.ShouldBeAtSameInstantMethods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeAtSameInstant
public static ErrorMessageFactory shouldBeAtSameInstant(OffsetDateTime actual, OffsetDateTime other) Creates a new.ShouldBeAtSameInstant- Parameters:
actual- the actual value in the failed assertion.other- the expected value in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-