metaData.getCellProperties().get("ACTION_TYPE");
final Property drillthroughCountProperty =
metaData.getCellProperties().get("DRILLTHROUGH_COUNT");
// Cell [0, 0] is drillable
final Cell cell0 = cellSet.getCell(0);
final int actionType0 =
(Integer) cell0.getPropertyValue(actionTypeProperty);
assertEquals(0x100, actionType0); // MDACTION_TYPE_DRILLTHROUGH
final int drill0 =
(Integer) cell0.getPropertyValue(drillthroughCountProperty);
assertEquals(24442, drill0);
// Cell [0, 1] is not drillable
final Cell cell1 = cellSet.getCell(1);
final int actionType1 =
(Integer) cell1.getPropertyValue(actionTypeProperty);
assertEquals(0x0, actionType1);
final int drill1 =
(Integer) cell1.getPropertyValue(drillthroughCountProperty);
assertEquals(-1, drill1);
}