Package org.assertj.db.error
Class ShouldBeBefore
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.db.error.ShouldBeBefore
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class ShouldBeBefore
extends org.assertj.core.error.BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a value is before a value.
- Author:
- Régis Pouiller
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.assertj.core.error.ErrorMessageFactory
shouldBeBefore
(Object actual, Object expected) Creates a new
.ShouldBeBefore
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeBefore
public static org.assertj.core.error.ErrorMessageFactory shouldBeBefore(Object actual, Object expected) Creates a new
.ShouldBeBefore
- Parameters:
actual
- The actual value in the failed assertion.expected
- The expected value to compare to.- Returns:
- the created
ErrorMessageFactory
.
-