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