public void shouldReturnFullySelectedStyle() {
// Select full column
gridLayer.doCommand(new ViewportSelectColumnCommand(gridLayer, 2,
false, false));
ColumnHeaderLayer columnHeaderLayer = (ColumnHeaderLayer) gridLayer
.getChildLayerByLayoutCoordinate(1, 0);
// Since I selected using grid coordinates, the column position should
// be 1 rather than 2
int columnPosition = gridLayer.localToUnderlyingColumnPosition(2);
final LabelStack labelStack = columnHeaderLayer
.getConfigLabelsByPosition(columnPosition, 0);
Assert.assertTrue(labelStack
.hasLabel(SelectionStyleLabels.COLUMN_FULLY_SELECTED_STYLE));