src/main/java/org/fest/assertions/Fail.java
protected static @NotNull AssertionError comparisonFailed(
      @Nullable Description description, @Nullable Object actual, @Nullable Object expected) {
    AssertionError comparisonFailure = comparisonFailure(valueOf(description), expected, actual);
    if (comparisonFailure != null) {
      return comparisonFailure;
    }
    return failure(format(description, unexpectedNotEqual(actual, expected)));
  }
protected static @NotNull AssertionError comparisonFailed(
      @Nullable Description description, @Nullable Object actual, @Nullable Object expected) {
    AssertionError comparisonFailure = comparisonFailure(valueOf(description), expected, actual);
    if (comparisonFailure != null) {
      return comparisonFailure;
    }
    return failure(format(description, unexpectedNotEqual(actual, expected)));
  }
Returns a {@code AssertionError} describing a comparison failure.

@param description the description of the comparison.
@param actual      the actual value.
@param expected    the expected value.
@return a {@code AssertionError} describing the comparison failure.
@since 1.3