private void checkNotEqual(UnknownFieldSet s1,UnknownFieldSet s2){
  String equalsError=String.format("%s should not be equal to %s",s1,s2);
  assertFalse(equalsError,s1.equals(s2));
  assertFalse(equalsError,s2.equals(s1));
  assertFalse(String.format("%s should have a different hash code from %s",s1,s2),s1.hashCode() == s2.hashCode());
}

private void checkNotEqual ( UnknownFieldSet s1 , UnknownFieldSet s2 ) { String equalsError = String . format ( "%s should not be equal to %s" , s1 , s2 ) ; assertFalse ( equalsError , s1 . equals ( s2 ) ) ; assertFalse ( equalsError , s2 . equals ( s1 ) ) ; assertFalse ( String . format ( "%s should have a different hash code from %s" , s1 , s2 ) , s1 . hashCode ( ) == s2 . hashCode ( ) ) ; }
asserts that the given field sets are not equal and have different hash codes .
