assertFalse($cell->getStyle()->isFontBold()); $style = (new StyleBuilder())->setFontBold()->build(); $cellManager->applyStyle($cell, $style); $this->assertTrue($cell->getStyle()->isFontBold()); } }