@Test
public void testCreateNullColumnFromModelProperty() {

    // factory returns null on create
    ColumnFactory factory = new ColumnFactory() {
        @Override
        public TableColumnExt createAndConfigureTableColumn(
                TableModel model, int modelIndex) {
            if ("A".equals(model.getColumnName(modelIndex))) return null;
            return super.createAndConfigureTableColumn(model, modelIndex);
        }
        
        
    };
    TableModel model = new DefaultTableModel(0, 10);
    TableColumnExt column = factory.createAndConfigureTableColumn(model, 0);
    assertNull("", column);
    
}