rowManager = new RowManager(new StyleMerger()); parent::setUp(); } public function testIsEmptyRow() { $row = new Row([], null, $this->rowManager); $this->assertTrue($this->rowManager->isEmpty($row)); $row = new Row([ new Cell('') ], null, $this->rowManager); $this->assertTrue($this->rowManager->isEmpty($row)); $row = new Row([ new Cell(''), new Cell(''), new Cell('Okay') ], null, $this->rowManager); $this->assertFalse($this->rowManager->isEmpty($row)); } }