AlternatingRowConfigLabelAccumulator.EVEN_ROW_CONFIG_TYPE);
}
@Test
public void shouldFallBackToSuperTypeAttributesForEvenCell() {
ILayerCell cell = natTable.getCellByPosition(2, 2);
// Test cell even attributes
final IStyle cellInstanceStyle = configRegistry.getConfigAttribute(
CellConfigAttributes.CELL_STYLE, cell.getDisplayMode(), cell
.getConfigLabels().getLabels());
Assert.assertEquals(Display.getDefault()
.getSystemColor(SWT.COLOR_BLACK), cellInstanceStyle
.getAttributeValue(CellStyleAttributes.FOREGROUND_COLOR));
Assert.assertEquals(
Display.getDefault().getSystemColor(SWT.COLOR_GRAY),
cellInstanceStyle
.getAttributeValue(CellStyleAttributes.BACKGROUND_COLOR));
// Test super cell attributes
StyleProxy cellProxy = new CellStyleProxy(configRegistry,
cell.getDisplayMode(), cell.getConfigLabels().getLabels());
final Font fontAttribute = cellProxy
.getAttributeValue(CellStyleAttributes.FONT);
Assert.assertEquals(FONT_DATA.getName(),
fontAttribute.getFontData()[0].getName());
Assert.assertEquals(FONT_DATA.getStyle(),