diff --git a/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java b/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java index 8b0547cb69..d9aba70e50 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java +++ b/poi-ooxml/src/test/java/org/apache/poi/ss/tests/util/TestXSSFCellUtil.java @@ -108,6 +108,7 @@ class TestXSSFCellUtil extends BaseTestCellUtil { CellUtil.setCellStyleProperties(cell, properties); } assertEquals(color, cell.getCellStyle().getFillForegroundColorColor()); + assertEquals(FillPatternType.SOLID_FOREGROUND, cell.getCellStyle().getFillPattern()); { final Map properties = new LinkedHashMap<>(); @@ -119,6 +120,7 @@ class TestXSSFCellUtil extends BaseTestCellUtil { } assertNull(cell.getCellStyle().getFillForegroundColorColor()); assertEquals(IndexedColors.AUTOMATIC.getIndex(), cell.getCellStyle().getFillForegroundColor()); + assertEquals(FillPatternType.NO_FILL, cell.getCellStyle().getFillPattern()); } } } \ No newline at end of file