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