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