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