diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java index b3e86899c2..98d14afb40 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/streaming/TestSXSSFWorkbook.java @@ -640,6 +640,14 @@ public final class TestSXSSFWorkbook extends BaseTestXWorkbook { } } + @Test + void getStylesSource() throws IOException { + try (SXSSFWorkbook workbook = new SXSSFWorkbook()) { + assertNotNull(workbook.getXSSFWorkbook().getStylesSource(), "style source available"); + assertNotNull(workbook.getXSSFWorkbook().getStylesSource().getIndexedColors(), "indexed colors available"); + } + } + @Override @Disabled("not implemented") protected void changeSheetNameWithSharedFormulas() {