org.assertj.core.error
Class ShouldHaveLineCount
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldHaveLineCount
- All Implemented Interfaces:
- ErrorMessageFactory
public class ShouldHaveLineCount
- extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a value have certain number of lines failed.
- Author:
- Mariusz Smykula
shouldHaveLinesCount
public static ErrorMessageFactory shouldHaveLinesCount(Object actual,
int actualSize,
int expectedSize)
- Creates a new
ShouldHaveLineCount
.
- Parameters:
actual
- the actual value in the failed assertion.actualSize
- the lines count of actual
.expectedSize
- the expected lines count.
- Returns:
- the created
ErrorMessageFactory
.
Copyright © 2013–2015 AssertJ. All rights reserved.