@Test
public void simpleActionSetField() {

    final AtomicBoolean calledBack = new AtomicBoolean(false);
    setupPatternAndCondition();
    final ActionSetFieldCol52 asf = new ActionSetFieldCol52();
    asf.setBoundName("$p");
    asf.setFactField("name");
    model.getActionCols().add(asf);
    when(dmo.getFieldType(eq("Person"),
                          eq("name"))).thenReturn(DataType.TYPE_STRING);
    builder.generateDefinition(dtPresenter,
                               asf,
                               (String definition) -> {
                                   calledBack.set(true);
                                   assertEquals("$p.setName( \"x\" );",
                                                definition);
                               });
    assertTrue(calledBack.get());
}