public class ShouldHaveSizeLessThan extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldHaveSizeLessThan(Object actual,
int actualSize,
int expectedMaxSize)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldHaveSizeLessThan(Object actual, int actualSize, int expectedMaxSize)
ShouldHaveSizeLessThan
.actual
- the actual value in the failed assertion.actualSize
- the size of actual
.expectedMaxSize
- the expected size.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.