Collection<StructuralDiff> columnDiffs = event.getColumnDiffs();
Assert.assertNotNull(columnDiffs);
Assert.assertEquals(3, columnDiffs.size());
Iterator<StructuralDiff> iterator = columnDiffs.iterator();
Assert.assertEquals(new StructuralDiff(DiffTypeEnum.ADD,
new Range(2, 2), new Range(2, 3)), iterator.next());
Assert.assertEquals(new StructuralDiff(DiffTypeEnum.ADD,
new Range(3, 3), new Range(4, 5)), iterator.next());
Assert.assertEquals(new StructuralDiff(DiffTypeEnum.ADD,
new Range(5, 5), new Range(7, 10)), iterator.next());
event.convertToLocal(viewportLayer);
columnDiffs = event.getColumnDiffs();
Assert.assertNotNull(columnDiffs);
Assert.assertEquals(3, columnDiffs.size());
iterator = columnDiffs.iterator();
Assert.assertEquals(new StructuralDiff(DiffTypeEnum.ADD,
new Range(0, 0), new Range(0, 1)), iterator.next());
Assert.assertEquals(new StructuralDiff(DiffTypeEnum.ADD,
new Range(1, 1), new Range(2, 3)), iterator.next());
Assert.assertEquals(new StructuralDiff(DiffTypeEnum.ADD,
new Range(3, 3), new Range(5, 8)), iterator.next());
}