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