public static void assertEquals ( Formatter message , Object expected , Object actual ) { if ( ! expected . equals ( actual ) ) { throw new AssertionException ( message ) ; } }
Asserts that two Objects are equal to one another . Does nothing if they are ; throws an AssertionException if they re not .