@Test
public void testUpdate() throws VetoException {

    final ActionWorkItemSetFieldCol52 column = spy(new ActionWorkItemSetFieldCol52());
    column.setWorkItemName(WORK_ITEM_NAME);
    column.setHeader("col1");
    modelSynchronizer.appendColumn(column);
    final ActionWorkItemSetFieldCol52 edited = new ActionWorkItemSetFieldCol52();
    edited.setWorkItemName(WORK_ITEM_NAME);
    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(2,
                 model.getActionCols().size());
    assertEquals(5,
                 uiModel.getColumns().size());
    assertTrue(uiModel.getColumns().get(4) instanceof BooleanUiColumn);
    assertEquals("updated",
                 uiModel.getColumns().get(4).getHeaderMetaData().get(1).getTitle());
    assertEquals(false,
                 uiModel.getColumns().get(4).isVisible());
}