public function testHasStyles() { $styleCollection = new StyleCollection([new Fill(), new Font()]); $cell = new Cell(); $this->assertFalse($cell->hasStyles()); $cell->setStyles($styleCollection); $this->assertTrue($cell->hasStyles()); }