Package org.fest.assertions.error
Class ShouldBeLenientEqualByAccepting
- java.lang.Object
-
- org.fest.assertions.error.BasicErrorMessageFactory
-
- org.fest.assertions.error.ShouldBeLenientEqualByAccepting
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldBeLenientEqualByAccepting extends BasicErrorMessageFactory
Creates an
indicating that an assertion that verifies that two objects are lenient equal by accepting fields failed.AssertionError
- Author:
- Nicolas François, Joel Costigliola
-
-
Field Summary
-
Fields inherited from class org.fest.assertions.error.BasicErrorMessageFactory
arguments, format
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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 newShouldBeLenientEqualByAccepting
.-
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory
create, equals, hashCode, toString
-
-
-
-
Method Detail
-
shouldBeLenientEqualByAccepting
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)
Creates a newShouldBeLenientEqualByAccepting
.- Parameters:
actual
- the actual value in the failed assertion.rejectedFields
- fields name not matchingexpectedValues
- fields value not matchingacceptedFields
- fields on which is based the lenient equality- Returns:
- the created
ErrorMessageFactory
.
-
-