public class ShouldBeLessOrEqual extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static <T> ErrorMessageFactory |
shouldBeLessOrEqual(Comparable<? super T> actual,
Comparable<? super T> other)
Creates a new
. |
static <T> ErrorMessageFactory |
shouldBeLessOrEqual(Comparable<? super T> actual,
Comparable<? super T> other,
ComparisonStrategy comparisonStrategy)
Deprecated.
|
static <T> ErrorMessageFactory |
shouldBeLessOrEqual(Object actual,
Object other,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static <T> ErrorMessageFactory shouldBeLessOrEqual(Comparable<? super T> actual, Comparable<? super T> other)
ShouldBeLessOrEqual.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.@Deprecated public static <T> ErrorMessageFactory shouldBeLessOrEqual(Comparable<? super T> actual, Comparable<? super T> other, ComparisonStrategy comparisonStrategy)
shouldBeLessOrEqual(Object, Object, ComparisonStrategy) instead.ShouldBeLessOrEqual.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.public static <T> ErrorMessageFactory shouldBeLessOrEqual(Object actual, Object other, ComparisonStrategy comparisonStrategy)
ShouldBeLessOrEqual.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 © 2025. All rights reserved.