assertEquals(1, edits.size());
assertChange(edits.get(0), paragraph, 0, new int[] { 0, 5, 5, 9, 9, 15 }, new int[] {
0, 2, 2, 5, 5, 9, 9, 12, 12, 15 });
// Merge of two changes is performed by copying elements which
// lie between split ones
ElementChange change = (ElementChange) edits.get(0);
assertSame(change.getChildrenRemoved()[1], // bold [5, 9]
change.getChildrenAdded()[2]);
assertChildren(paragraph, new int[] { 0, 2, 2, 5, 5, 9, 9, 12, 12, 15, 15, 16 },
new AttributeSet[] { null, null, bold, italic, italic, null });
}