// SELECT mode has a 'default' horizontal align attribute registered
configRegistry.registerConfigAttribute(CellConfigAttributes.CELL_STYLE,
testCellStyle2, DisplayMode.SELECT);
// The 'default' from SELECT gets picked up
StyleProxy cellStyleProxy = new CellStyleProxy(configRegistry,
DisplayMode.SELECT, Arrays.asList(TEST_CONFIG_LABEL1));
HorizontalAlignmentEnum alignmentFromProxy = cellStyleProxy
.getAttributeValue(CellStyleAttributes.HORIZONTAL_ALIGNMENT);
Assert.assertEquals(HorizontalAlignmentEnum.CENTER, alignmentFromProxy);
}