UberfireColumnPicker { protected boolean addThisColumnToPopup(ColumnMeta<T> columnMeta) { return (columnMeta.getHeader().getValue() instanceof String); } UberfireColumnPicker(DataGrid<T> dataGrid); void addColumnChangedHandler(ColumnChangedHandler handler); Collection<ColumnMeta<T>> getColumnMetaList(); void columnMoved(final int visibleFromIndex,
                            final int visibleBeforeIndex); void addColumn(ColumnMeta<T> columnMeta); void adjustColumnWidths(); void addColumns(List<ColumnMeta<T>> columnMetas); void removeColumn(ColumnMeta<T> columnMeta); Button createToggleButton(); int getDataGridMinWidth(); void setDefaultColumnWidthSize(int defaultColumSize);  }
@Test public void testAddThisColumnToPopup() { assertTrue(uberfireColumnPicker.addThisColumnToPopup(columnMetaTextCell1)); assertFalse(uberfireColumnPicker.addThisColumnToPopup(columnMetaCheckBoxCell)); }