* <code>setUp()</code>.
*/
public void testInsertDiffAttrsMiddle() throws Exception {
// doc.insertString(insertOffset, caps, null);
content.insertString(insertOffset, caps);
event = doc.new DefaultDocumentEvent(insertOffset, capsLen, EventType.INSERT);
ElementSpec spec = new ElementSpec(null, ElementSpec.ContentType, capsLen);
buf.insert(insertOffset, capsLen, new ElementSpec[] { spec }, event);
List<?> edits = getEdits(event);
assertEquals(1, edits.size());
assertChange(edits.get(0), new int[] { 5, 12 }, new int[] { 5, 7, 7, 10, 10, 12 });