public static void assertEquals ( Object actual , Object expected , String message ) { hardAssert . assertEquals ( actual , expected , message ) ; }
assertEquals method is used to assert based on actual and expected values and provide a Pass result for a same match . assertEquals will yield a Fail result for a mismatch and abort the test case .