@Test
public void testColumnVisibilityActionOnHideableInitial() {

    JXTable table = new JXTable(10, 3);
    // set the first column !hideable
    table.getColumnExt(0).setHideable(false);
    table.setColumnControlVisible(true);
    ColumnControlButton columnControl = (ColumnControlButton) table.getColumnControl();
    ColumnVisibilityAction action = columnControl.getColumnVisibilityActions().get(0);
    assertFalse("action must be disabled initially", action.isEnabled());
}