public class ShouldHaveDimension
extends org.assertj.core.error.BasicErrorMessageFactory
Modifier and Type | Method and Description |
---|---|
static org.assertj.core.error.ErrorMessageFactory |
shouldHaveDimension(Object actual,
Dimension actualSize,
Dimension expectedSize)
Creates a new
. |
public static org.assertj.core.error.ErrorMessageFactory shouldHaveDimension(Object actual, Dimension actualSize, Dimension expectedSize)
ShouldHaveDimension
.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.