@Test
public void testDelete() throws VetoException {

    final BRLConditionColumn column = new BRLConditionColumn();
    final BRLConditionVariableColumn columnV0 = new BRLConditionVariableColumn("$age",
                                                                               DataType.TYPE_NUMERIC_INTEGER,
                                                                               "Applicant",
                                                                               "age");
    final BRLConditionVariableColumn columnV1 = new BRLConditionVariableColumn("$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.getConditions().size());
    assertEquals(5,
                 uiModel.getColumns().size());
    modelSynchronizer.deleteColumn(column);
    assertEquals(3,
                 model.getExpandedColumns().size());
    assertEquals(0,
                 model.getConditions().size());
    assertEquals(3,
                 uiModel.getColumns().size());
}