@Test
public void columnResizingListenerSetup_ActionSetFieldColumn() {

    final Pattern52 pattern = mock(Pattern52.class);
    final ActionSetFieldCol52 column = new ActionSetFieldCol52();
    column.setFactField("MyField");
    column.setHeader("MyColumn");
    column.setBoundName("$f");
    when(model.getConditions()).thenReturn(new ArrayList<CompositeColumn<? extends BaseColumn>>() {{
        add(pattern);
    }});
    when(pattern.getFactType()).thenReturn("MyFact");
    when(pattern.getBoundName()).thenReturn("$f");
    when(pattern.isBound()).thenReturn(true);
    when(oracle.getFieldType("MyFact",
                             "MyField")).thenReturn(DataType.TYPE_STRING);
    final GridColumn<?> uiColumn = factory.convertColumn(column,
                                                         access,
                                                         gridWidget);
    assertTrue(uiColumn instanceof BaseUiColumn);
    assertEquals((int) uiColumn.getWidth(),
                 column.getWidth());
    uiColumn.setWidth(200.0);
    assertEquals(200,
                 column.getWidth());
}