.getRowObject(rowPosition);
configLabels.addLabel("myLabel " + rowObject.security_id);
}
});
LabelStack configLabels = natTable.getConfigLabelsByPosition(0, 4);
List<String> labels = configLabels.getLabels();
assertEquals(2, labels.size());
assertEquals(
SummaryRowLayer.DEFAULT_SUMMARY_COLUMN_CONFIG_LABEL_PREFIX + 0,
labels.get(0));
assertEquals(SummaryRowLayer.DEFAULT_SUMMARY_ROW_CONFIG_LABEL,
labels.get(1));
configLabels = natTable.getConfigLabelsByPosition(0, 3);
labels = configLabels.getLabels();
assertEquals(1, labels.size());
assertTrue("Label in default body does not start with myLabel", labels
.get(0).startsWith("myLabel"));
}