public class ShouldHaveSizeBetween extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldHaveSizeBetween(Object actual,
int actualSize,
int lowerBoundary,
int higherBoundary)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldHaveSizeBetween(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.Copyright © 2014–2019 AssertJ. All rights reserved.