@Test
public void testHiddenColumn_ConditionColumn() {

    final Pattern52 pattern = mock(Pattern52.class);
    final ConditionCol52 column = new ConditionCol52();
    column.setFactField("MyField");
    column.setHeader("MyColumn");
    column.setHideColumn(true);
    when(model.getPattern(eq(column))).thenReturn(pattern);
    when(pattern.getFactType()).thenReturn("MyFact");
    when(oracle.getFieldType("MyFact",
                             "MyField")).thenReturn(DataType.TYPE_STRING);
    final GridColumn<?> uiColumn = factory.convertColumn(column,
                                                         access,
                                                         gridWidget);
    assertEquals(false,
                 uiColumn.isVisible());
}