cellStyle, DisplayMode.SELECT,
SelectionStyleLabels.SELECTION_ANCHOR_STYLE);
// Select and access cell
natTable.doCommand(new SelectCellCommand(natTable, 2, 2, false, false));
ILayerCell cell = natTable.getCellByPosition(2, 2);
Assert.assertEquals(DisplayMode.SELECT, cell.getDisplayMode());
// Check for line styling
Assert.assertEquals(
defaultBorderStyle,
configRegistry.getConfigAttribute(
CellConfigAttributes.CELL_STYLE, cell.getDisplayMode(),
cell.getConfigLabels().getLabels()).getAttributeValue(
CellStyleAttributes.BORDER_STYLE));
}