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
ShouldHaveSize. |
create, create, equals, hashCode, toString, unquotedStringpublic 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 © 2013-2014 AssertJ. All Rights Reserved.