Java Utililty Methods Assert Equal

List of utility methods to do Assert Equal

Description

The list of methods to do Assert Equal are organized into topic(s).

Method

voidassertEqualsToStringBuilder(final StringBuilder errorMessageHolder, final String currentEM, final Object expected, final Object actual)
assert Equals To String Builder
if (expected == null) {
    if (actual != null) {
        errorMessageHolder.append(currentEM);
        errorMessageHolder.append(": ");
        errorMessageHolder.append("expected: <null>");
        errorMessageHolder.append("but was: <");
        errorMessageHolder.append(actual);
        errorMessageHolder.append(">\n");
...