@Test
public void testUpdate() throws VetoException {

    final ActionRetractFactCol52 column = spy(new ActionRetractFactCol52());
    column.setHeader("col1");
    modelSynchronizer.appendColumn(column);
    final ActionRetractFactCol52 edited = new ActionRetractFactCol52();
    edited.setWidth(column.getWidth());
    edited.setHideColumn(true);
    edited.setHeader("updated");
    List<BaseColumnFieldDiff> diffs = modelSynchronizer.updateColumn(column,
                                                                     edited);
    assertEquals(2,
                 diffs.size());
    verify(column).diff(edited);
    assertEquals(1,
                 model.getActionCols().size());
    assertEquals(4,
                 uiModel.getColumns().size());
    assertTrue(uiModel.getColumns().get(3) instanceof BoundFactUiColumn);
    assertEquals("updated",
                 uiModel.getColumns().get(3).getHeaderMetaData().get(0).getTitle());
    assertEquals(false,
                 uiModel.getColumns().get(3).isVisible());
}