public void testAddCondFormatAfterDataValidation_bug46547() {
// Create a sheet with data validity (similar to bugzilla attachment id=23131).
InternalSheet sheet = InternalSheet.createSheet();
sheet.getOrCreateDataValidityTable();
ConditionalFormattingTable cft;
// attempt to add conditional formatting
try {
cft = sheet.getConditionalFormattingTable(); // lazy getter
} catch (ClassCastException e) {