/** * New instance with array */ public function testConstructWithStyleArray() { $oCell = new Cell(null, array('valign' => 'center')); $this->assertInstanceOf('PhpOffice\\PhpWord\\Style\\Cell', $oCell->getStyle()); $this->assertNull($oCell->getWidth()); }