public class ShouldBeLess extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<? super T>> |
shouldBeLess(T actual,
T other)
Creates a new
ShouldBeLess. |
static <T extends Comparable<? super T>> |
shouldBeLess(T actual,
T other,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldBeLess. |
create, equals, hashCode, toStringpublic static <T extends Comparable<? super T>> ErrorMessageFactory shouldBeLess(T actual, T other)
ShouldBeLess.T - guarantees that the values used in this factory have the same type.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.ErrorMessageFactory.public static <T extends Comparable<? super T>> ErrorMessageFactory shouldBeLess(T actual, T other, ComparisonStrategy comparisonStrategy)
ShouldBeLess.T - guarantees that the values used in this factory have the same type.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.Copyright © 2013 AssertJ. All Rights Reserved.