@Test
public void testAppend() throws VetoException {

    //Add a Pattern to be updated
    final Pattern52 pattern = new Pattern52();
    pattern.setBoundName("$a");
    pattern.setFactType("Applicant");
    final ConditionCol52 condition = new ConditionCol52();
    condition.setConstraintValueType(BaseSingleFieldConstraint.TYPE_LITERAL);
    condition.setHeader("col1");
    condition.setFactField("age");
    condition.setOperator("==");
    modelSynchronizer.appendColumn(pattern,
                                   condition);
    final ActionSetFieldCol52 column = new ActionSetFieldCol52();
    column.setHeader("col1");
    column.setBoundName("$a");
    column.setFactField("age");
    modelSynchronizer.appendColumn(column);
    assertEquals(1,
                 model.getConditions().size());
    assertEquals(1,
                 model.getActionCols().size());
    assertEquals(5,
                 uiModel.getColumns().size());
    assertTrue(uiModel.getColumns().get(4) instanceof IntegerUiColumn);
    assertEquals(true,
                 ((BaseSingletonDOMElementUiColumn) uiModel.getColumns().get(3)).isEditable());
}