public class ShouldHaveSize
extends org.assertj.core.error.BasicErrorMessageFactory
Modifier and Type | Method and Description |
---|---|
static org.assertj.core.error.ErrorMessageFactory |
shouldHaveSize(Object actual,
long actualSize,
long expectedSize)
Creates a new
ShouldHaveSize . |
public static org.assertj.core.error.ErrorMessageFactory shouldHaveSize(Object actual, long actualSize, long expectedSize)
ShouldHaveSize
.actual
- the actual value in the failed assertion.actualSize
- the size of actual
.expectedSize
- the expected size.ErrorMessageFactory
.Copyright © 2015 AssertJ. All rights reserved.