@Test
public void testUpdate() throws VetoException {

    final LimitedEntryBRLConditionColumn column = new LimitedEntryBRLConditionColumn();
    column.setHeader("col1");
    modelSynchronizer.appendColumn(column);
    final LimitedEntryBRLConditionColumn edited = new LimitedEntryBRLConditionColumn();
    edited.setHideColumn(true);
    edited.setHeader("updated");
    modelSynchronizer.updateColumn(column,
                                   edited);
    assertEquals(1,
                 model.getConditions().size());
    assertEquals(4,
                 uiModel.getColumns().size());
    assertTrue(uiModel.getColumns().get(3) instanceof BooleanUiColumn);
    assertEquals("updated",
                 uiModel.getColumns().get(3).getHeaderMetaData().get(0).getTitle());
    assertEquals(false,
                 uiModel.getColumns().get(3).isVisible());
}