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(java.lang.Object actual,
java.util.List<java.lang.String> rejectedFields,
java.util.List<java.lang.Object> expectedValues,
java.util.List<java.lang.String> ignoredFields)
Creates a new
ShouldBeLenientEqualByIgnoring. |
create, equals, hashCode, toStringpublic static <E> ErrorMessageFactory shouldBeLenientEqualByIgnoring(java.lang.Object actual, java.util.List<java.lang.String> rejectedFields, java.util.List<java.lang.Object> expectedValues, java.util.List<java.lang.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 © 2007–2018. All rights reserved.