Package org.fest.assertions.error
Class ShouldBeLenientEqualByIgnoring
- java.lang.Object
 - 
- org.fest.assertions.error.BasicErrorMessageFactory
 - 
- org.fest.assertions.error.ShouldBeLenientEqualByIgnoring
 
 
 
- 
- All Implemented Interfaces:
 ErrorMessageFactory
public class ShouldBeLenientEqualByIgnoring extends BasicErrorMessageFactory
Creates anindicating that an assertion that verifies that two objects are lenient equal by ignoring 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> ErrorMessageFactoryshouldBeLenientEqualByIgnoring(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 newShouldBeLenientEqualByIgnoring.- 
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory
create, equals, hashCode, toString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
shouldBeLenientEqualByIgnoring
public 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 newShouldBeLenientEqualByIgnoring.- Parameters:
 actual- the actual value in the failed assertion.rejectedFields- fields name not matchingexpectedValues- fields value not matchingignoredFields- fields which are not base the lenient equality- Returns:
 - the created 
ErrorMessageFactory. 
 
 - 
 
 -