public class ShouldBeBefore
extends org.assertj.core.error.BasicErrorMessageFactory
Date is before another one failed.| Modifier and Type | Method and Description |
|---|---|
static org.assertj.core.error.ErrorMessageFactory |
shouldBeBefore(Object actual,
Object other)
Creates a new
ShouldBeBefore. |
static org.assertj.core.error.ErrorMessageFactory |
shouldBeBefore(Object actual,
Object other,
org.assertj.core.internal.ComparisonStrategy comparisonStrategy)
Creates a new
ShouldBeBefore. |
public static org.assertj.core.error.ErrorMessageFactory shouldBeBefore(Object actual, Object other, org.assertj.core.internal.ComparisonStrategy comparisonStrategy)
ShouldBeBefore.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.comparisonStrategy - the ComparisonStrategy used to evaluate assertion.ErrorMessageFactory.public static org.assertj.core.error.ErrorMessageFactory shouldBeBefore(Object actual, Object other)
ShouldBeBefore.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.ErrorMessageFactory.Copyright © 2013 AssertJ. All Rights Reserved.