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 .