public class ShouldHaveSizeBetween extends BasicErrorMessageFactory
arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldHaveSizeBetween(java.lang.Object actual,
int actualSize,
int lowerBoundary,
int higherBoundary) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldHaveSizeBetween(java.lang.Object actual,
int actualSize,
int lowerBoundary,
int higherBoundary)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldHaveSizeBetween(java.lang.Object actual,
int actualSize,
int lowerBoundary,
int higherBoundary)
public static ErrorMessageFactory shouldHaveSizeBetween(java.lang.Object actual, int actualSize, int lowerBoundary, int higherBoundary)
ShouldHaveSizeBetween.actual - the actual value in the failed assertion.actualSize - the size of actual.lowerBoundary - the lower boundary compared to which actual size should be greater than or equal to.higherBoundary - the higher boundary compared to which actual size should be less than or equal to.ErrorMessageFactory.