src/main/java/org/fest/assertions/internal/Objects.java
public void assertEqual(Description description, Object actual, Object expected) {
    if (!areEqual(actual, expected)) {
      throw shouldBeEqual(actual, expected).newAssertionError(description);
    }
  }
public void assertEqual(Description description, Object actual, Object expected) {
    if (!areEqual(actual, expected)) {
      throw shouldBeEqual(actual, expected).newAssertionError(description);
    }
  }
Asserts that two objects are equal.

@param description the description of the <em>actual</em> object.
@param actual the <em>actual</em> object.
@param expected the <em>expected</em> object.
@throws AssertionError if {@code actual} is not equal to {@code expected}. This method will throw a
{@code org.junit.ComparisonFailure} instead if JUnit is in the classpath and the given objects are not
equal.