public static void assertNotEquals ( Object actual , Object expected , String msg ) { hardAssert . assertNotEquals ( actual , expected , msg ) ; }
assertNotEquals method is used to assert based on actual and expected values and provide a Pass result for a mismatch .