| Access | Constructor and Description |
|---|---|
| private <T> |
| Modifier and Type | Method and Description |
|---|---|
| public static < guarantees that the values used in this factory have the same type. T> ErrorMessageFactory | Returns: the createdErrorMessageFactory.the actual value in the failed assertion. actual, Comparable<? super T> the value used in the failed assertion to compare the actual value to. other)Creates a new |
| public static < guarantees that the values used in this factory have the same type. T> ErrorMessageFactory | Returns: the createdErrorMessageFactory.the actual value in the failed assertion. actual, Comparable<? super T> the value used in the failed assertion to compare the actual value to. other, ComparisonStrategy the comparisonStrategy)ComparisonStrategy used to evaluate assertion.
Deprecated
Use
Creates a new shouldBeGreater(Object, Object, ComparisonStrategy) instead.
.
|
| public static ErrorMessageFactory | Returns: the createdErrorMessageFactory.the actual value in the failed assertion. actual, Object the value used in the failed assertion to compare the actual value to. other, ComparisonStrategy the comparisonStrategy)ComparisonStrategy used to evaluate assertion.Creates a new |
| ShouldBeGreater | back to summary |
|---|---|
| private <T> ShouldBeGreater(T actual, T other, ComparisonStrategy comparisonStrategy) | |
| shouldBeGreater | back to summary |
|---|---|
| public static <T> ErrorMessageFactory shouldBeGreater(Comparable<? super T> actual, Comparable<? super T> other) Creates a new
| |
| shouldBeGreater | back to summary |
|---|---|
| public static <T> ErrorMessageFactory shouldBeGreater(Comparable<? super T> actual, Comparable<? super T> other, ComparisonStrategy comparisonStrategy)
Deprecated Use Creates a new
| |
| shouldBeGreater | back to summary |
|---|---|
| public static ErrorMessageFactory shouldBeGreater(Object actual, Object other, ComparisonStrategy comparisonStrategy) Creates a new
| |