public static final void assertEquals(Object expected, Object actual, String expectedLabel, String actualLabel) { if (isEnabled()) { if (expected == null) { assertTrue(expected == actual, "Values not equal, " + expectedLabel + " '" + expected + "', " + actualLabel + " '" + actual + "'"); } else { assertTrue(expected.equals(actual), "Values not equal, " + expectedLabel + " '" + expected + "', " + actualLabel + " '" + actual + "'"); } }
public static final void assertEquals(Object expected, Object actual) { assertEquals(expected, actual, "expected", "actual");
    public static final void assertEquals(Object expected, Object actual,                                          String expectedLabel,                                          String actualLabel) {        if (isEnabled()) {            if (expected == null) {                assertTrue(expected == actual,                           "Values not equal, " +                           expectedLabel + " '" + expected + "', " +                           actualLabel + " '" + actual + "'");            } else {                assertTrue(expected.equals(actual),                           "Values not equal, " +                           expectedLabel + " '" + expected + "', " +                           actualLabel + " '" + actual + "'");            }        }    }