@Test
public void testDelete() throws VetoException {

    final BRLActionColumn column = new BRLActionColumn();
    final BRLActionVariableColumn columnV0 = new BRLActionVariableColumn("$age",
                                                                         DataType.TYPE_NUMERIC_INTEGER,
                                                                         "Applicant",
                                                                         "age");
    final BRLActionVariableColumn columnV1 = new BRLActionVariableColumn("$name",
                                                                         DataType.TYPE_STRING,
                                                                         "Applicant",
                                                                         "name");
    column.getChildColumns().add(columnV0);
    column.getChildColumns().add(columnV1);
    column.setHeader("col1");
    columnV0.setHeader("col1v0");
    columnV1.setHeader("col1v1");
    modelSynchronizer.appendColumn(column);
    assertEquals(5,
                 model.getExpandedColumns().size());
    assertEquals(1,
                 model.getActionCols().size());
    assertEquals(5,
                 uiModel.getColumns().size());
    modelSynchronizer.deleteColumn(column);
    assertEquals(3,
                 model.getExpandedColumns().size());
    assertEquals(0,
                 model.getActionCols().size());
    assertEquals(3,
                 uiModel.getColumns().size());
}