What is assertEquals in JUnit?
public static void assertEquals assertEquals(String message, Object expected, Object actual) Asserts equality between two objects. If they aren’t, an AssertionError with the supplied message is thrown. If both the expected and actual values are nil, they are regarded as equal.