public class ShouldHaveSameSizeAs extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldHaveSameSizeAs(Object actual,
Object actualSize,
Object expectedSize)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldHaveSameSizeAs(Object actual, Object actualSize, Object expectedSize)
ShouldHaveSameSizeAs
.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.