}
public void testDoDeepCopyOfISOBinaryField() throws Exception {
String fieldContent = "firstField";
ISOField fieldWhichWillBeModified = new ISOField(8, fieldContent);
ISOField fieldWhoseValueShouldNotChange = copier.doDeepCopy(fieldWhichWillBeModified);
String updatedFieldContent = fieldContent + "a";
fieldWhichWillBeModified.setFieldNumber(7);
fieldWhichWillBeModified.setValue(updatedFieldContent);
assertNotNull(fieldWhichWillBeModified);
assertNotNull(fieldWhoseValueShouldNotChange);
assertNotSame(fieldWhichWillBeModified, fieldWhoseValueShouldNotChange);
assertEquals(updatedFieldContent, fieldWhichWillBeModified.getValue());
assertEquals(fieldContent, fieldWhoseValueShouldNotChange.getValue());
ISOComponentEqualityTester.assertNotEquals(fieldWhichWillBeModified, fieldWhoseValueShouldNotChange);
}