question: private void checkNotEqual ( Message m1 , Message m2 ) { String equalsError = String . format ( "%s should not be equal to %s" , m1 , m2 ) ; assertFalse ( equalsError , m1 . equals ( m2 ) ) ; assertFalse ( equalsError , m2 . equals ( m1 ) ) ; assertFalse ( String . format ( "%s should have a different hash code from %s" , m1 , m2 ) , m1 . hashCode ( ) == m2 . hashCode ( ) ) ; }
target:  Asserts that the given protos are not equal and have different hash codes.