assertNull(preferenceChange);
view.updateDamage(event, shape, factory);
assertNull(lineRange);
preferenceChange.check(true, true);
preferenceChange = null;
event = ((AbstractDocument) doc).new DefaultDocumentEvent(3, 14,
DocumentEvent.EventType.CHANGE);
view.updateDamage(event, shape, factory);
lineRange.check(0, 0, shape, container);
lineRange = null;
assertNull(preferenceChange);
event = ((AbstractDocument) doc).new DefaultDocumentEvent(7, 12,
DocumentEvent.EventType.CHANGE);
view.updateDamage(event, shape, factory);
lineRange.check(1, 1, shape, container);
lineRange = null;
assertNull(preferenceChange);