src/main/java/org/fest/assertions/error/NotEqualErrorFactory.java
@Override
  public AssertionError newAssertionError(Description description) {
    AssertionError error = comparisonFailure(description);
    if (error != null) {
      return error;
    }
    return Failures.instance().failure(defaultErrorMessage(description));
  }
@Override
  public AssertionError newAssertionError(Description description) {
    AssertionError error = comparisonFailure(description);
    if (error != null) {
      return error;
    }
    return Failures.instance().failure(defaultErrorMessage(description));
  }
Creates an {@link AssertionError} indicating that an assertion that verifies that two objects are equal, failed.
<p>
If JUnit 4 is in the classpath, this method will instead create a {@code org.junit.ComparisonFailure} that
highlights the difference(s) between the expected and actual objects.
</p>

@param description the description of the failed assertion.
@return the created {@code AssertionError}.