コード例 #1
0
ファイル: CellTest.php プロジェクト: Asisyas/ExcelAnt
 public function testHasStyles()
 {
     $styleCollection = new StyleCollection([new Fill(), new Font()]);
     $cell = new Cell();
     $this->assertFalse($cell->hasStyles());
     $cell->setStyles($styleCollection);
     $this->assertTrue($cell->hasStyles());
 }