public class ShouldBeLenientEqualByIgnoring extends BasicErrorMessageFactory
AssertionError indicating that an assertion that verifies that two objects are lenient equal by
ignoring fields failed.arguments, format| Modifier and Type | Method and Description |
|---|---|
static <E> ErrorMessageFactory |
shouldBeLenientEqualByIgnoring(Object actual,
List<String> rejectedFields,
List<Object> expectedValues,
List<String> ignoredFields)
Creates a new
ShouldBeLenientEqualByIgnoring. |
create, equals, hashCode, toStringpublic static <E> ErrorMessageFactory shouldBeLenientEqualByIgnoring(Object actual, List<String> rejectedFields, List<Object> expectedValues, List<String> ignoredFields)
ShouldBeLenientEqualByIgnoring.actual - the actual value in the failed assertion.rejectedFields - fields name not matchingexpectedValues - fields value not matchingignoredFields - fields which are not base the lenient equalityErrorMessageFactory.Copyright © 2013 AssertJ. All Rights Reserved.